Class OortContainer<T>
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.cometd.oort.OortObject<T>
org.cometd.oort.OortContainer<T>
- All Implemented Interfaces:
Iterable<OortObject.Info<T>>
,EventListener
,ConfigurableServerChannel.Initializer
,Oort.CometListener
,org.eclipse.jetty.util.component.Dumpable
,org.eclipse.jetty.util.component.LifeCycle
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cometd.oort.OortObject
OortObject.Data<T>, OortObject.Factory<T>, OortObject.Info<T>, OortObject.Listener<T>, OortObject.Merger<T,
R>, OortObject.Result<R> Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.Initializer
ConfigurableServerChannel.Initializer.Persistent
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.cometd.oort.Oort.CometListener
Oort.CometListener.Event
-
Field Summary
Fields inherited from class org.cometd.oort.OortObject
OORT_OBJECTS_CHANNEL
Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, STARTED, STARTING, STOPPED, STOPPING
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback method invoked when a comet leaves the cloudprotected void
doStop()
protected abstract boolean
isItemUpdate
(Map<String, Object> data) protected abstract void
protected void
Methods inherited from class org.cometd.oort.OortObject
addListener, cometJoined, configureChannel, deserialize, doStart, dump, getChannelName, getFactory, getInfo, getInfoByObject, getInfos, getLocalSession, getName, getOort, iterator, merge, newInfo, notifyRemoved, notifyUpdated, pullInfo, pushInfo, removeListener, removeListeners, serialize, setAndShare, toString
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dumpSelf
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
OortContainer
-
-
Method Details
-
doStop
protected void doStop()- Overrides:
doStop
in classOortObject<T>
-
cometLeft
Description copied from interface:Oort.CometListener
Callback method invoked when a comet leaves the cloud- Specified by:
cometLeft
in interfaceOort.CometListener
- Overrides:
cometLeft
in classOortObject<T>
- Parameters:
event
- the comet event
-
onObject
-
isItemUpdate
-
onItem
-