blob: 6d7ab30bfa54ae784f4636d5c6740d5abada8cc0 [file] [log] [blame]
package com.gemstone.gemfire.internal.offheap;
/**
* Adds a reference count to the basic MemoryChunk.
* Also an Object can be stored in one of these.
* To increment the count call {@link #retain()}.
* To decrement the count call {@link #release()}.
*
* @author darrel
* @since 9.0
*/
public interface MemoryChunkWithRefCount extends MemoryChunk, StoredObject {
/**
* Returns the number of users of this memory.
*/
public int getRefCount();
}