Class RegistryCenterFactory
java.lang.Object
org.apache.shardingsphere.elasticjob.lite.lifecycle.internal.reg.RegistryCenterFactory
Registry center factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.shardingsphere.elasticjob.reg.base.CoordinatorRegistryCentercreateCoordinatorRegistryCenter(String connectString, String namespace, String digest) Create aCoordinatorRegistryCenteror return the existing one if there is one set up with the sameconnectionString,namespaceanddigestalready.
-
Constructor Details
-
RegistryCenterFactory
public RegistryCenterFactory()
-
-
Method Details
-
createCoordinatorRegistryCenter
public static org.apache.shardingsphere.elasticjob.reg.base.CoordinatorRegistryCenter createCoordinatorRegistryCenter(String connectString, String namespace, String digest) Create aCoordinatorRegistryCenteror return the existing one if there is one set up with the sameconnectionString,namespaceanddigestalready.- Parameters:
connectString- registry center connect stringnamespace- registry center namespacedigest- registry center digest- Returns:
- registry center
-