public class WeakManagedHandle extends WeakHandle implements HGManagedLiveHandle
returnEnqueued
Constructor and Description |
---|
WeakManagedHandle(Object ref,
HGPersistentHandle persistentHandle,
byte flags,
ReferenceQueue<Object> refQueue,
long retrievalCount,
long lastAccessTime) |
Modifier and Type | Method and Description |
---|---|
void |
accessed() |
long |
getLastAccessTime() |
long |
getRetrievalCount() |
compareTo, equals, getFlags, getPersistent, getRef, hashCode, toString
clear, enqueue, get, isEnqueued
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getFlags, getRef
getPersistent
public WeakManagedHandle(Object ref, HGPersistentHandle persistentHandle, byte flags, ReferenceQueue<Object> refQueue, long retrievalCount, long lastAccessTime)
public void accessed()
accessed
in interface HGManagedLiveHandle
accessed
in class WeakHandle
public long getLastAccessTime()
getLastAccessTime
in interface HGManagedLiveHandle
public long getRetrievalCount()
getRetrievalCount
in interface HGManagedLiveHandle
Copyright © 2015. All rights reserved.