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
,Bayeux.BayeuxListener
,ConfigurableServerChannel.ServerChannelListener
,ServerChannel.MessageListener
,org.eclipse.jetty.util.component.LifeCycle
@Deprecated public abstract class OortMasterService<R,C> extends OortPrimaryService<R,C>
Deprecated.useOortPrimaryService
instead.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cometd.oort.OortService
OortService.Request, OortService.Result<U>, OortService.ServerContext
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener
ConfigurableServerChannel.ServerChannelListener.Weak
-
-
Field Summary
-
Fields inherited from class org.cometd.oort.OortService
logger
-
-
Constructor Summary
Constructors Constructor Description OortMasterService(Oort oort, String name, boolean primary)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getMasterOortURL()
Deprecated.useOortPrimaryService.getPrimaryOortURL()
insteadboolean
isMaster()
Deprecated.useOortPrimaryService.isPrimary()
instead-
Methods inherited from class org.cometd.oort.OortPrimaryService
doStart, doStop, getPrimaryOortURL, isPrimary
-
Methods inherited from class org.cometd.oort.OortService
forward, getLocalSession, getName, getOort, getTimeout, onForward, onForwardFailed, onForwardMessage, onForwardSucceeded, onMessage, onResultMessage, setTimeout, toString
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cometd.bayeux.server.ServerChannel.MessageListener
onMessage
-
-
-
-
Constructor Detail
-
OortMasterService
@Deprecated public OortMasterService(Oort oort, String name, boolean primary)
Deprecated.
-
-
Method Detail
-
isMaster
@Deprecated public boolean isMaster()
Deprecated.useOortPrimaryService.isPrimary()
instead- Returns:
- whether this node is the "primary" node
-
getMasterOortURL
@Deprecated public String getMasterOortURL()
Deprecated.useOortPrimaryService.getPrimaryOortURL()
instead- Returns:
- the "primary" Oort URL, or null if the "primary" node is down.
-
-