Package org.cometd.oort
-
Interface Summary Interface Description Oort.CometListener Listener interface that gets notified of comet events, that is when a new comet joins the cloud or when a comet leaves the cloud.OortList.ElementListener<E> Listener for element events that update the entity list, either locally or remotely.OortMap.EntryListener<K,V> Listener for entry events that update the entity map, either locally or remotely.OortMasterLong.Callback Callback invoked when the result of the operation on the counter is available, or when the operation failed.OortObject.Factory<T> Factory that creates objects stored byOortObject
s.OortObject.Listener<T> Listener for events that update the value of aOortObject.Info
, either local or remote.OortObject.Merger<T,R> A merge strategy for object values.OortObject.Result<R> An asynchronous result.Seti.Location The representation of where a user is.Seti.PresenceListener Listener interface that gets notified of remote Seti presence events. -
Class Summary Class Description Oort Oort is the cluster manager that links one CometD server to a set of other CometD servers.Oort.CometListener.Adapter Empty implementation ofOort.CometListener
Oort.CometListener.Event Comet event object delivered toOort.CometListener
methods.OortComet The Oort comet client connects a local Oort comet server to a remote Oort comet server.OortConfigServlet This servlet serves as a base class for initializing and configuring an instance of theOort
CometD cluster manager.OortContainer<T> OortList<E> A specialized oort object whose entity is aList
.OortList.DeltaListener<E> An implementation ofOortObject.Listener
that converts whole list events intoOortList.ElementListener
events.OortList.ElementListener.Adapter<E> Empty implementation ofOortList.ElementListener
.OortLong A shared atomic long made of an internalAtomicLong
and of an internalOortObject<Long>
.OortLongMap<V> The equivalent of anOortMap<Long,V>
.OortMap<K,V> A specialized oort object whose entity is aConcurrentMap
.OortMap.DeltaListener<K,V> An implementation ofOortObject.Listener
that converts whole map events intoOortMap.EntryListener
events.OortMap.Entry<K,V> A triple that holds the key, the previous value and the new value, used to notify entry updates:OortMap.EntryListener.Adapter<K,V> Empty implementation ofOortMap.EntryListener
.OortMasterLong A distributed counter service to be deployed on a Oort cluster that modifies along
value hosted in a "master" node.OortMasterLong.Callback.Adapter Empty implementation ofOortMasterLong.Callback
OortMasterLong.Context OortMasterService<R,C> OortMasterService
extendsOortService
to allow applications to perform actions on entities that always live in a "master" node.OortMulticastConfigServlet This servlet initializes and configures an instance of theOort
CometD cluster manager via autodiscovery of other Oort comets using UDP multicast.OortMulticastConfigurer OortObject<T> AnOortObject
represents a named composite entity that is distributed in an Oort cluster.OortObject.Data<T> OortObject.Info<T> The oort object part holding the object and the metadata associated with it.OortObject.Listener.Adapter<T> An empty implementation ofOortObject.Listener
.OortObject.Result.Deferred<D> Implementation ofOortObject.Result
that allows applications to block, waiting for the result, viaOortObject.Result.Deferred.get(long, TimeUnit)
.OortObjectFactories OortObjectMergers OortObjectMergers.ListUnionMerger<E> OortService<R,C> AnOortService
allows applications to forward actions to Oort nodes that own the entity onto which the action should be applied.OortService.Request Encapsulates a forwarded request.OortService.Result<U> Encapsulates the result of a forwarded request returned byOortService.onForward(Request)
.OortService.ServerContext Utility context that stores theServerSession
and theServerMessage
.OortStaticConfigServlet This servlet initializes and configures an instance of theOort
CometD cluster manager with a static list of other Oort comet URLs.OortStringMap<V> The equivalent of anOortMap<String,V>
.Seti The component that Searches for Extra Terrestrial Intelligence or, in this case, just searches for a user logged onto a comet in an Oort cloud.Seti.PresenceListener.Adapter Empty implementation ofSeti.PresenceListener
Seti.PresenceListener.Event Seti presence event object, delivered toSeti.PresenceListener
methods.SetiServlet This servlet initializes and configures and instance of theSeti
user mapper.