Package org.apache.pekko.serialization
Class JavaSerializer.CurrentSystem
- java.lang.Object
- 
- scala.util.DynamicVariable<ExtendedActorSystem>
- 
- org.apache.pekko.serialization.JavaSerializer.CurrentSystem
 
 
- 
- Enclosing class:
- JavaSerializer
 
 public static final class JavaSerializer.CurrentSystem extends scala.util.DynamicVariable<ExtendedActorSystem> 
- 
- 
Constructor SummaryConstructors Constructor Description CurrentSystem()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description <S> SwithValue(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.
 
- 
- 
- 
Method Detail- 
withValuepublic <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.- Parameters:
- value- - the current value under the call to callable.call()
- callable- - the operation to be performed
- Returns:
- the result of callable.call()
 
 
- 
 
-