|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.contrib.pattern.ClusterSingletonProxy$
public class ClusterSingletonProxy$
Field Summary | |
---|---|
static ClusterSingletonProxy$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Constructor Summary | |
---|---|
ClusterSingletonProxy$()
|
Method Summary | |
---|---|
Props |
defaultProps(java.lang.String singletonPath,
java.lang.String role)
Java API: Factory method for ClusterSingletonProxy Props . |
Props |
props(java.lang.String singletonPath,
scala.Option<java.lang.String> role,
scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
Scala API: Factory method for ClusterSingletonProxy Props . |
Props |
props(java.lang.String singletonPath,
java.lang.String role,
scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
Java API: Factory method for ClusterSingletonProxy Props . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ClusterSingletonProxy$ MODULE$
Constructor Detail |
---|
public ClusterSingletonProxy$()
Method Detail |
---|
public Props props(java.lang.String singletonPath, scala.Option<java.lang.String> role, scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
ClusterSingletonProxy
Props
.
singletonPath
- The logical path of the singleton, i.e., /user/singletonManager/singleton.role
- The role of the cluster nodes where the singleton can be deployed. If None, then any node will do.singletonIdentificationInterval
- Interval at which the proxy will try to resolve the singleton instance.
public Props props(java.lang.String singletonPath, java.lang.String role, scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
ClusterSingletonProxy
Props
.
singletonPath
- The logical path of the singleton, i.e., /user/singletonManager/singleton.role
- The role of the cluster nodes where the singleton can be deployed. If null, then any node will do.singletonIdentificationInterval
- Interval at which the proxy will try to resolve the singleton instance.
public Props defaultProps(java.lang.String singletonPath, java.lang.String role)
ClusterSingletonProxy
Props
. The interval at which the proxy will try
to resolve the singleton instance is set to 1 second.
singletonPath
- The logical path of the singleton, i.e., /user/singletonManager/singleton.role
- The role of the cluster nodes where the singleton can be deployed. If null, then any node will do.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |