Uses of Interface
org.cometd.oort.OortObject.Result
Packages that use OortObject.Result
-
Uses of OortObject.Result in org.cometd.oort
Classes in org.cometd.oort that implement OortObject.ResultModifier and TypeClassDescriptionstatic class
Implementation ofOortObject.Result
that allows applications to block, waiting for the result, viaOortObject.Result.Deferred.get(long, TimeUnit)
.Methods in org.cometd.oort with parameters of type OortObject.ResultModifier and TypeMethodDescriptionvoid
OortList.addAndShare
(OortObject.Result<Boolean> callback, E... elements) Adds the givenelements
to the local entity list, and then broadcasts the addition to all nodes in the cluster.void
OortMap.putAndShare
(K key, V value, OortObject.Result<V> callback) Updates a single entry of the local entity map with the givenkey
andvalue
, and broadcasts the operation to all nodes in the cluster.void
OortMap.putIfAbsentAndShare
(K key, V value, OortObject.Result<V> callback) Updates a single entry of the local entity map with the givenkey
andvalue
if it does not exist yet, and broadcasts the operation to all nodes in the cluster.void
OortList.removeAndShare
(OortObject.Result<Boolean> callback, E... elements) Removes the givenelements
to the local entity list, and then broadcasts the removal to all nodes in the cluster.void
OortMap.removeAndShare
(K key, OortObject.Result<V> callback) Removes the givenkey
from the local entity map, and broadcasts the operation to all nodes in the cluster.void
OortObject.setAndShare
(T newObject, OortObject.Result<T> callback) Sets the given new object on this oort object, and then broadcast the new object to all nodes in the cluster.Constructors in org.cometd.oort with parameters of type OortObject.Result