org.eclipse.net4j.signal.failover
Class NOOPFailOverStrategy
java.lang.Object
org.eclipse.net4j.signal.failover.NOOPFailOverStrategy
- All Implemented Interfaces:
- IFailOverStrategy, INotifier
public class NOOPFailOverStrategy
- extends java.lang.Object
- implements IFailOverStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final NOOPFailOverStrategy INSTANCE
NOOPFailOverStrategy
public NOOPFailOverStrategy()
send
public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request)
throws java.lang.Exception
- Specified by:
send
in interface IFailOverStrategy
- Throws:
java.lang.Exception
send
public <RESULT> RESULT send(RequestWithConfirmation<RESULT> request,
long timeout)
throws java.lang.Exception
- Specified by:
send
in interface IFailOverStrategy
- Throws:
java.lang.Exception
addListener
public void addListener(IListener listener)
- Specified by:
addListener
in interface INotifier
removeListener
public void removeListener(IListener listener)
- Specified by:
removeListener
in interface INotifier