public class DefaultManagedLiveHandle extends DefaultLiveHandle implements HGManagedLiveHandle
Modifier and Type | Field and Description |
---|---|
protected long |
lastAccessTime |
protected long |
retrievalCount |
flags, persistentHandle, ref
Constructor and Description |
---|
DefaultManagedLiveHandle(Object ref,
HGPersistentHandle pHandle,
byte flags,
long retrievalCount,
long lastAccessTime) |
Modifier and Type | Method and Description |
---|---|
void |
accessed() |
long |
getLastAccessTime() |
long |
getRetrievalCount() |
void |
setLastAccessTime(long lastAccessTime) |
void |
setRetrievalCount(long retrievalCount) |
equals, getFlags, getPersistent, getRef, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFlags, getRef
getPersistent
protected long retrievalCount
protected long lastAccessTime
public DefaultManagedLiveHandle(Object ref, HGPersistentHandle pHandle, byte flags, long retrievalCount, long lastAccessTime)
public void accessed()
accessed
in interface HGManagedLiveHandle
accessed
in class DefaultLiveHandle
public final long getLastAccessTime()
getLastAccessTime
in interface HGManagedLiveHandle
public final void setLastAccessTime(long lastAccessTime)
public final long getRetrievalCount()
getRetrievalCount
in interface HGManagedLiveHandle
public final void setRetrievalCount(long retrievalCount)
Copyright © 2015. All rights reserved.