Interface DistributedChangeableProperty<T extends Serializable>
-
- All Superinterfaces:
DistributedProperty<T>
- All Known Implementing Classes:
DistributedBooleanProperty,DistributedComparableProperty,DistributedDoubleProperty,DistributedEnumProperty,DistributedIntegerProperty,DistributedLongProperty,DistributedTracingConfiguration,SimpleDistributedProperty
public interface DistributedChangeableProperty<T extends Serializable> extends DistributedProperty<T>
Inner interface to maintenance of distributed property.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlocalUpdate(Serializable newVal)Update only local value without updating remote cluster.voidonAttached()This property have been attached to processor.voidonReadyForUpdate(@NotNull PropertyUpdateClosure updater)On this property ready to be update on cluster wide.Tparse(String str)-
Methods inherited from interface org.apache.ignite.internal.processors.configuration.distributed.DistributedProperty
addListener, description, get, getName, getOrDefault, propagate, propagateAsync, propagateAsync
-
-
-
-
Method Detail
-
onAttached
void onAttached()
This property have been attached to processor.
-
onReadyForUpdate
void onReadyForUpdate(@NotNull @NotNull PropertyUpdateClosure updater)On this property ready to be update on cluster wide.- Parameters:
updater- Consumer for update value across cluster.
-
localUpdate
void localUpdate(Serializable newVal)
Update only local value without updating remote cluster.- Parameters:
newVal- New value.
-
-