public class JVMServerLocator extends Object implements ServerLocator
| Constructor and Description |
|---|
JVMServerLocator(CacheServer broker,
boolean stopServerAtClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
brokerDisconnected() |
void |
close() |
Channel |
connect(ChannelEventListener worker,
ConnectionRequestInfo workerInfo) |
public JVMServerLocator(CacheServer broker, boolean stopServerAtClose)
public Channel connect(ChannelEventListener worker, ConnectionRequestInfo workerInfo) throws InterruptedException, ServerRejectedConnectionException, ServerNotAvailableException
connect in interface ServerLocatorInterruptedExceptionServerRejectedConnectionExceptionServerNotAvailableExceptionpublic void brokerDisconnected()
brokerDisconnected in interface ServerLocatorpublic void close()
close in interface ServerLocatorclose in interface AutoCloseableCopyright © 2016. All rights reserved.