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 classImplementation ofOortObject.Resultthat 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 TypeMethodDescriptionvoidOortList.addAndShare(OortObject.Result<Boolean> callback, E... elements) Adds the givenelementsto the local entity list, and then broadcasts the addition to all nodes in the cluster.voidOortMap.putAndShare(K key, V value, OortObject.Result<V> callback) Updates a single entry of the local entity map with the givenkeyandvalue, and broadcasts the operation to all nodes in the cluster.voidOortMap.putIfAbsentAndShare(K key, V value, OortObject.Result<V> callback) Updates a single entry of the local entity map with the givenkeyandvalueif it does not exist yet, and broadcasts the operation to all nodes in the cluster.voidOortList.removeAndShare(OortObject.Result<Boolean> callback, E... elements) Removes the givenelementsto the local entity list, and then broadcasts the removal to all nodes in the cluster.voidOortMap.removeAndShare(K key, OortObject.Result<V> callback) Removes the givenkeyfrom the local entity map, and broadcasts the operation to all nodes in the cluster.voidOortObject.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