public abstract class DynamicTCPRemoteCommitProvider extends TCPRemoteCommitProvider
TCPRemoteCommitProvider.HostAddress_addresses, _addressesLock, _port, s_loceventManager, log| Constructor and Description |
|---|
DynamicTCPRemoteCommitProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
endConfiguration()
Subclasses that need to perform actions in
Configurable.endConfiguration() must invoke this method. |
protected abstract List<String> |
fetchDynamicAddresses() |
int |
getCacheDurationMillis() |
void |
setAddresses(String names)
Sets the list of addresses of peers to which this provider will send events to.
|
void |
setCacheDurationMillis(int _cacheDurationMillis) |
broadcast, close, getMaxIdle, getMaxTotal, getNumBroadcastThreads, getPort, getRecoveryTimeMillis, setMaxActive, setMaxIdle, setMaxTotal, setNumBroadcastThreads, setPort, setRecoveryTimeMillisfireEvent, setConfiguration, setRemoteCommitEventManager, startConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConfiguration, startConfigurationpublic DynamicTCPRemoteCommitProvider()
throws UnknownHostException
UnknownHostExceptionpublic int getCacheDurationMillis()
public void setCacheDurationMillis(int _cacheDurationMillis)
public final void setAddresses(String names) throws UnknownHostException
TCPRemoteCommitProvidernames list in the form of "myhost1:portA;myhost2:portB".setAddresses in class TCPRemoteCommitProvidernames - the list of addresses of peers to which this provider will send events toUnknownHostException - in case peer name cannot be resolvedpublic void endConfiguration()
TCPRemoteCommitProviderConfigurable.endConfiguration() must invoke this method.endConfiguration in interface ConfigurableendConfiguration in class TCPRemoteCommitProviderCopyright © 2006–2022 Apache Software Foundation. All rights reserved.