| Package | Description |
|---|---|
| cern.entwined |
| Modifier and Type | Method and Description |
|---|---|
static <T extends SemiPersistent<T>> |
STMUtils.inTransaction(Memory<T> memory)
Returns
true if the current code is being executed within a transaction. |
static <T> GlobalReference<T> |
STMUtils.reference(Memory<?> memory,
GlobalReference<T> globalReference,
T value)
Either updates the
GlobalReference and returns it or, if the source is null, creates a new
GlobalReference with the given value and returns it. |
| Constructor and Description |
|---|
GlobalReference(Memory<?> memory,
T object)
Creates an instance of
GlobalReference using given memory and object. |
Copyright © 2013 CERN, The European Organization for Nuclear Research. All Rights Reserved.