|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.signal.failover.FailOverStrategy
public abstract class FailOverStrategy
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier |
---|
INotifier.Introspection |
Field Summary |
---|
Fields inherited from interface org.eclipse.net4j.signal.failover.IFailOverStrategy |
---|
NOOP |
Constructor Summary | |
---|---|
FailOverStrategy()
|
Method Summary | ||
---|---|---|
protected void |
failOver(SignalProtocol protocol)
|
|
protected abstract IConnector |
getNewConnector(IChannel oldChannel)
Should be overridden to provide a fail-over IConnector . |
|
|
send(RequestWithConfirmation<RESULT> request)
|
|
|
send(RequestWithConfirmation<RESULT> request,
long timeout)
|
Methods inherited from class org.eclipse.net4j.util.event.Notifier |
---|
addListener, fireEvent, getListeners, hasListeners, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.net4j.util.event.INotifier |
---|
addListener, removeListener |
Constructor Detail |
---|
public FailOverStrategy()
Method Detail |
---|
public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request) throws java.lang.Exception
send
in interface IFailOverStrategy
java.lang.Exception
public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request, long timeout) throws java.lang.Exception
send
in interface IFailOverStrategy
java.lang.Exception
protected void failOver(SignalProtocol protocol)
protected abstract IConnector getNewConnector(IChannel oldChannel)
IConnector
. The oldChannel can be used as a hint.
|
Copyright (c) 2004 - 2008 Eike Stepper, Germany. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |