Currently the RemoteProperty class offers no "setter". This issue tracks the work to add mechanisms to set remote property values. My initial thoughts are to add at least five methods:
public void setValue(T value); // blocking
public CompletableFuture<Void> setValueAsync(T value); // non-blocking
public boolean isLocked(); // checks if the remote property is locked
public void lock(); // blocks until lock acquired without timeout
public void unlock(); // unlock
There may eventually be a need to add methods like, compareAndSet(expected, newValue) or tryLock() (with or without timeout) and/or lock(timeout)
Currently the
RemoteProperty
class offers no "setter". This issue tracks the work to add mechanisms to set remote property values. My initial thoughts are to add at least five methods:There may eventually be a need to add methods like,
compareAndSet(expected, newValue)
ortryLock()
(with or without timeout) and/orlock(timeout)