public static class FailoverMonitor.AgentProtocol extends HeartBeatProtocol.Server
fail-over monitor
agent protocol.Modifier and Type | Class and Description |
---|---|
static class |
FailoverMonitor.AgentProtocol.Factory
Creates
fail-over agent protocol instances. |
HeartBeatProtocol.Server.TimerInjector
SignalProtocol.TimeoutChangedEvent
ILocationAware.Location
ILifecycle.DeferrableActivation
SIGNAL_MONITOR_CANCELED, SIGNAL_MONITOR_PROGRESS, SIGNAL_REMOTE_EXCEPTION, SIGNAL_SET_TIMEOUT
DEFAULT_TIMEOUT, NO_TIMEOUT
UNSPECIFIED_VERSION
Constructor and Description |
---|
FailoverMonitor.AgentProtocol(FailoverMonitor.Provider failOverMonitorProvider) |
Modifier and Type | Method and Description |
---|---|
protected void |
doDeactivate() |
String |
getConnectorDescription() |
FailoverMonitor |
getFailoverMonitor() |
String |
getRepositoryName() |
protected void |
indicatingStart(ExtendedDataInputStream in) |
String |
toString() |
createSignalReactor, doBeforeActivate, getHeartBeatTimer, setHeartBeatTimer
addStreamWrapper, close, doAfterActivate, doBeforeDeactivate, getStreamWrapper, getTimeout, handleBuffer, handleChannelDeactivation, isSendingTimeoutChanges, open, provideSignalReactor, setStreamWrapper, setTimeout, waitForSignals
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getLocation, getType, getUserID, getVersion, isClient, isServer, setChannel, setExecutorService, setInfraStructure, setUserID
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, dump, getLifecycleState, isActive, isDeferredActivation
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBufferProvider, getChannel, getExecutorService, getInfraStructure, getType, setChannel, setExecutorService, setInfraStructure
getUserID
getLocation, isClient, isServer
addListener, getListeners, hasListeners, removeListener
public FailoverMonitor.AgentProtocol(FailoverMonitor.Provider failOverMonitorProvider)
public String toString()
toString
in class SignalProtocol<Object>
public FailoverMonitor getFailoverMonitor()
public String getConnectorDescription()
public String getRepositoryName()
protected void indicatingStart(ExtendedDataInputStream in) throws IOException
indicatingStart
in class HeartBeatProtocol.Server
IOException
protected void doDeactivate() throws Exception
doDeactivate
in class HeartBeatProtocol.Server
Exception
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.