akka.contrib.pattern
Class ClusterSingletonProxy$

java.lang.Object
  extended by akka.contrib.pattern.ClusterSingletonProxy$

public class ClusterSingletonProxy$
extends java.lang.Object


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

MODULE$

public static final ClusterSingletonProxy$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

ClusterSingletonProxy$

public ClusterSingletonProxy$()
Method Detail

props

public Props props(java.lang.String singletonPath,
                   scala.Option<java.lang.String> role,
                   scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
Scala API: Factory method for ClusterSingletonProxy Props.

Parameters:
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.
Returns:
The singleton proxy Props.

props

public Props props(java.lang.String singletonPath,
                   java.lang.String role,
                   scala.concurrent.duration.FiniteDuration singletonIdentificationInterval)
Java API: Factory method for ClusterSingletonProxy Props.

Parameters:
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.
Returns:
The singleton proxy Props.

defaultProps

public Props defaultProps(java.lang.String singletonPath,
                          java.lang.String role)
Java API: Factory method for ClusterSingletonProxy Props. The interval at which the proxy will try to resolve the singleton instance is set to 1 second.

Parameters:
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.
Returns:
The singleton proxy Props.