Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »


Revert

Revert key IN record TO timestamp

void revert(String key, long record, long timestamp)

Verify And Set

See http://en.wikipedia.org/wiki/Compare-and-swap

Verify key AS value1 IN record AND SET AS value2 

boolean verifyAndSet(String key, TObject expected, long record, TObject replacement)

Get And Increment

See http://en.wikipedia.org/wiki/Fetch-and-add

FETCH key AS value in record AND INCREMENT

Number getAndIncrement(String key,long record)

The first value for key in record (get returns the first value of a fetch) must be a Number, otherwise this method should throw an exception.

  • No labels