public static final class JavaSerializer.CurrentSystem extends scala.util.DynamicVariable<ExtendedActorSystem>
Constructor and Description |
---|
CurrentSystem() |
Modifier and Type | Method and Description |
---|---|
<S> S |
withValue(ExtendedActorSystem value,
java.util.concurrent.Callable<S> callable)
Java API: invoke the callable with the current system being set to the given value for this thread.
|
public <S> S withValue(ExtendedActorSystem value, java.util.concurrent.Callable<S> callable)
value
- - the current value under the call to callable.call()callable
- - the operation to be performed