public class SimpleStoreableMetadata extends Object implements org.glassfish.ha.store.api.Storeable
| Constructor and Description |
|---|
SimpleStoreableMetadata() |
SimpleStoreableMetadata(long version,
long lastAccessTime,
long maxIdleTime,
boolean aNew,
byte[] state) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
_storeable_getAttributeNames() |
boolean[] |
_storeable_getDirtyStatus() |
long |
_storeable_getLastAccessTime() |
long |
_storeable_getMaxIdleTime() |
long |
_storeable_getVersion() |
void |
_storeable_readState(InputStream inputStream) |
void |
_storeable_setLastAccessTime(long l) |
void |
_storeable_setMaxIdleTime(long l) |
void |
_storeable_setVersion(long l) |
void |
_storeable_writeState(OutputStream outputStream) |
byte[] |
getState() |
String |
toString() |
public SimpleStoreableMetadata()
public SimpleStoreableMetadata(long version,
long lastAccessTime,
long maxIdleTime,
boolean aNew,
byte[] state)
public byte[] getState()
public long _storeable_getVersion()
_storeable_getVersion in interface org.glassfish.ha.store.api.Storeablepublic void _storeable_setVersion(long l)
_storeable_setVersion in interface org.glassfish.ha.store.api.Storeablepublic long _storeable_getLastAccessTime()
_storeable_getLastAccessTime in interface org.glassfish.ha.store.api.Storeablepublic void _storeable_setLastAccessTime(long l)
_storeable_setLastAccessTime in interface org.glassfish.ha.store.api.Storeablepublic long _storeable_getMaxIdleTime()
_storeable_getMaxIdleTime in interface org.glassfish.ha.store.api.Storeablepublic void _storeable_setMaxIdleTime(long l)
_storeable_setMaxIdleTime in interface org.glassfish.ha.store.api.Storeablepublic String[] _storeable_getAttributeNames()
_storeable_getAttributeNames in interface org.glassfish.ha.store.api.Storeablepublic boolean[] _storeable_getDirtyStatus()
_storeable_getDirtyStatus in interface org.glassfish.ha.store.api.Storeablepublic void _storeable_writeState(OutputStream outputStream) throws IOException
_storeable_writeState in interface org.glassfish.ha.store.api.StoreableIOExceptionpublic void _storeable_readState(InputStream inputStream) throws IOException
_storeable_readState in interface org.glassfish.ha.store.api.StoreableIOExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.