@Deprecated public class RegistryKeepAliveRunner extends Object implements Runnable
Constructor and Description |
---|
RegistryKeepAliveRunner(String registryHost,
int registryPort,
String serviceName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkAndRestoreIfNeeded()
Deprecated.
Tries to lookup the server.
|
protected void |
createAndRegister(String serviceName)
Deprecated.
Creates the registry and registers the server.
|
protected void |
createReqistry(String serviceName)
Deprecated.
Try to create the registry.
|
protected void |
registerServer(String serviceName)
Deprecated.
Try to rebind the server.
|
void |
run()
Deprecated.
Tries to lookup the server.
|
void |
setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Deprecated.
Allows it to be injected.
|
public RegistryKeepAliveRunner(String registryHost, int registryPort, String serviceName)
registryHost
- - Hostname of the registryregistryPort
- - the port on which to start the registryserviceName
- public void run()
protected void checkAndRestoreIfNeeded()
protected void createAndRegister(String serviceName)
serviceName
- the service nameprotected void createReqistry(String serviceName)
serviceName
- the service nameprotected void registerServer(String serviceName)
serviceName
- the service namepublic void setCacheEventLogger(ICacheEventLogger cacheEventLogger)
cacheEventLogger
- Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.