Package | Description |
---|---|
com.pushtechnology.diffusion.client.features |
Client API : Standard Features.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
UpdateConstraint.PartialJSON
A constraint requiring the current value of a
JSON
topic to match the partially described value. |
Modifier and Type | Method and Description |
---|---|
UpdateConstraint |
UpdateConstraint.and(UpdateConstraint other)
Returns a composed constraint that represents a logical AND of this
constraint and another.
|
UpdateConstraint |
UpdateConstraint.Factory.locked(Session.SessionLock lock)
Create a constraint requiring a lock to be held by the session.
|
UpdateConstraint |
UpdateConstraint.Factory.noTopic()
Create a constraint requiring the path to have no topic.
|
UpdateConstraint |
UpdateConstraint.Factory.noValue()
Create a constraint requiring the topic to have no value.
|
UpdateConstraint |
UpdateConstraint.or(UpdateConstraint other)
Returns a composed constraint that represents a logical OR of this
constraint and another.
|
default UpdateConstraint |
UpdateConstraint.Factory.value(Object value)
Create a constraint requiring the current value of a topic to exactly
match the supplied value.
|
UpdateConstraint |
UpdateConstraint.Factory.value(UpdateConstraint.Operator operator,
Object value)
Create a constraint comparing the current value of a topic to a
supplied value.
|
Modifier and Type | Method and Description |
---|---|
<T> CompletableFuture<TopicCreationResult> |
TopicUpdate.addAndSet(String path,
TopicSpecification specification,
Class<T> valueClass,
T value,
UpdateConstraint constraint)
Ensures a topic exists and sets its value.
|
UpdateConstraint |
UpdateConstraint.and(UpdateConstraint other)
Returns a composed constraint that represents a logical AND of this
constraint and another.
|
CompletableFuture<TopicUpdate.JsonPatchResult> |
TopicUpdate.applyJsonPatch(String path,
String patch,
UpdateConstraint constraint)
Applies a JSON Patch to a JSON topic.
|
UpdateStream.Builder |
UpdateStream.Builder.constraint(UpdateConstraint updateConstraint)
Specifies an update constraint for this update stream.
|
<T> UpdateStream<T> |
TopicUpdate.createUpdateStream(String path,
Class<T> valueClass,
UpdateConstraint constraint)
Deprecated.
since 6.9
|
<T> UpdateStream<T> |
TopicUpdate.createUpdateStream(String path,
TopicSpecification specification,
Class<T> valueClass,
UpdateConstraint constraint)
Deprecated.
since 6.9
|
UpdateConstraint |
UpdateConstraint.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.
|
Copyright © 2024 DiffusionData Ltd. All Rights Reserved.