Package org.cometd.oort
Class OortMasterService<R,C>
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.cometd.oort.OortService<R,C>
org.cometd.oort.OortPrimaryService<R,C>
org.cometd.oort.OortMasterService<R,C>
- All Implemented Interfaces:
EventListener,org.cometd.bayeux.Bayeux.BayeuxListener,org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener,org.cometd.bayeux.server.ServerChannel.MessageListener,org.eclipse.jetty.util.component.LifeCycle
@Deprecated public abstract class OortMasterService<R,C> extends OortPrimaryService<R,C>
Deprecated.
use
OortPrimaryService instead.-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.oort.OortService
OortService.Request, OortService.Result<U>, OortService.ServerContextNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener -
Field Summary
-
Constructor Summary
Constructors Constructor Description OortMasterService(Oort oort, String name, boolean primary)Deprecated. -
Method Summary
Modifier and Type Method Description StringgetMasterOortURL()Deprecated.useOortPrimaryService.getPrimaryOortURL()insteadbooleanisMaster()Deprecated.useOortPrimaryService.isPrimary()insteadMethods inherited from class org.cometd.oort.OortPrimaryService
doStart, doStop, getPrimaryOortURL, isPrimaryMethods inherited from class org.cometd.oort.OortService
forward, getLocalSession, getName, getOort, getTimeout, onForward, onForwardFailed, onForwardMessage, onForwardSucceeded, onMessage, onResultMessage, setTimeout, toStringMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Constructor Details
-
OortMasterService
Deprecated.
-
-
Method Details
-
isMaster
Deprecated.useOortPrimaryService.isPrimary()instead- Returns:
- whether this node is the "primary" node
-
getMasterOortURL
Deprecated.useOortPrimaryService.getPrimaryOortURL()instead- Returns:
- the "primary" Oort URL, or null if the "primary" node is down.
-