1 5 package com.tc.l2.state; 6 7 import com.tc.l2.context.StateChangedEvent; 8 import com.tc.net.groups.NodeID; 9 10 public class DummyStateManager implements StateManager { 11 12 public void fireStateChangedEvent(StateChangedEvent sce) { 13 } 15 16 public boolean isActiveCoordinator() { 17 return true; 18 } 19 20 public void moveNodeToPassiveStandby(NodeID nodeID) { 21 throw new UnsupportedOperationException (); 22 } 23 24 public void registerForStateChangeEvents(StateChangeListener listener) { 25 } 27 28 public void startElection() { 29 } 31 32 } 33 | Popular Tags |