public class MemoryDataAccess extends DataAccessSupport
DataAccess.OnChangeNotSupportedException, DataAccess.ValueChangeListener| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
value
Value.
|
listeners| Constructor and Description |
|---|
MemoryDataAccess() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(CompletionHolder completionHolder)
Retrieve value or throw
AcsJExcption in case of failure. |
boolean |
initializeValue()
This requires value to be initialized to non-null value.
|
void |
set(java.lang.Object value,
CompletionHolder completionHolder)
Set value or throw
AcsJExcption in case of failure. |
addValueChangeListener, notify, removeValueChangeListenerpublic boolean initializeValue()
alma.ACS.DataAccess#initializeValue()public java.lang.Object get(CompletionHolder completionHolder)
DataAccessAcsJExcption in case of failure.completionHolder - completion holder. If completionHolder.value
is left to null (by this method), caller is responsible to
create a no-error completion with current timestamp later.
Use alma.ACS.jbaci.CompletionUtil class to generate no-error completion.null.alma.ACS.DataAccess#get(alma.ACSErr.CompletionHolder)public void set(java.lang.Object value,
CompletionHolder completionHolder)
DataAccessAcsJExcption in case of failure.value - value to be set, non-null.alma.ACS.DataAccess#set(Object, alma.ACSErr.CompletionHolder)