Uses of Interface
com.pushtechnology.diffusion.client.features.UpdateConstraint
Packages that use UpdateConstraint
-
Uses of UpdateConstraint in com.pushtechnology.diffusion.client.features
Subinterfaces of UpdateConstraint in com.pushtechnology.diffusion.client.featuresModifier and TypeInterfaceDescriptionstatic interface
A constraint requiring the current value of aJSON
topic to match the partially described value.Methods in com.pushtechnology.diffusion.client.features that return UpdateConstraintModifier and TypeMethodDescriptionUpdateConstraint.and
(UpdateConstraint other) Returns a composed constraint that represents a logical AND of this constraint and another.UpdateConstraint.Factory.locked
(Session.SessionLock lock) Create a constraint requiring a lock to be held by the session.UpdateConstraint.Factory.noTopic()
Create a constraint requiring the path to have no topic.UpdateConstraint.Factory.noValue()
Create a constraint requiring the topic to have no value.UpdateConstraint.or
(UpdateConstraint other) Returns a composed constraint that represents a logical OR of this constraint and another.UpdateConstraint.Factory.value
(UpdateConstraint.Operator operator, Object value) Create a constraint comparing the current value of a topic to a supplied value.default UpdateConstraint
Create a constraint requiring the current value of a topic to exactly match the supplied value.Methods in com.pushtechnology.diffusion.client.features with parameters of type UpdateConstraintModifier and TypeMethodDescriptionTopicUpdate.addAndSet
(String path, TopicSpecification specification, Class<T> valueClass, T value, UpdateConstraint constraint) Ensures a topic exists and sets its value.UpdateConstraint.and
(UpdateConstraint other) Returns a composed constraint that represents a logical AND of this constraint and another.TopicUpdate.applyJsonPatch
(String path, String patch, UpdateConstraint constraint) Applies a JSON Patch to a JSON topic.UpdateStream.Builder.constraint
(UpdateConstraint updateConstraint) Specifies an update constraint for this update stream.<T> UpdateStream<T>
TopicUpdate.createUpdateStream
(String path, TopicSpecification specification, Class<T> valueClass, UpdateConstraint constraint) Deprecated.since 6.9<T> UpdateStream<T>
TopicUpdate.createUpdateStream
(String path, Class<T> valueClass, UpdateConstraint constraint) Deprecated.since 6.9UpdateConstraint.or
(UpdateConstraint other) Returns a composed constraint that represents a logical OR of this constraint and another.<T> CompletableFuture<?>
TopicUpdate.set
(String path, Class<T> valueClass, T value, UpdateConstraint constraint) Sets the topic to a specified value.