| Package | Description |
|---|---|
| org.apache.sshd.common.util.io.functors |
| Modifier and Type | Method and Description |
|---|---|
static <ARG> Invoker<ARG,Void> |
Invoker.wrapAll(Collection<? extends Invoker<? super ARG,?>> invokers)
Wraps a bunch of
Invoker-s that return no value into one that invokes them in the same order as
they appear. |
static <ARG> Invoker<ARG,Void> |
Invoker.wrapFirst(Collection<? extends Invoker<? super ARG,?>> invokers)
Wraps a bunch of
Invoker-s that return no value into one that invokes them in the same order as
they appear. |
| Modifier and Type | Method and Description |
|---|---|
static <ARG> AbstractMap.SimpleImmutableEntry<Invoker<? super ARG,?>,Throwable> |
Invoker.invokeTillFirstFailure(ARG arg,
Collection<? extends Invoker<? super ARG,?>> invokers)
Invokes all instances until 1st failure (if any)
|
| Modifier and Type | Method and Description |
|---|---|
static <ARG> void |
Invoker.invokeAll(ARG arg,
Collection<? extends Invoker<? super ARG,?>> invokers)
Invokes all the instances ignoring the return value.
|
static <ARG> AbstractMap.SimpleImmutableEntry<Invoker<? super ARG,?>,Throwable> |
Invoker.invokeTillFirstFailure(ARG arg,
Collection<? extends Invoker<? super ARG,?>> invokers)
Invokes all instances until 1st failure (if any)
|
static <ARG> Invoker<ARG,Void> |
Invoker.wrapAll(Collection<? extends Invoker<? super ARG,?>> invokers)
Wraps a bunch of
Invoker-s that return no value into one that invokes them in the same order as
they appear. |
static <ARG> Invoker<ARG,Void> |
Invoker.wrapFirst(Collection<? extends Invoker<? super ARG,?>> invokers)
Wraps a bunch of
Invoker-s that return no value into one that invokes them in the same order as
they appear. |
Copyright © 2018–2021 The Apache Software Foundation. All rights reserved.