com.thimbleware.jmemcached.storage.bytebuffer
Class Region

java.lang.Object
  extended by com.thimbleware.jmemcached.storage.bytebuffer.Region

public final class Region
extends java.lang.Object

Represents a number of allocated blocks in the store


Field Summary
 int size
          Size in bytes of the requested area
 int usedBlocks
          Size in blocks of the requested area
 boolean valid
          Flag which is true if the region is valid and in use.
 
Constructor Summary
Region(int size, int usedBlocks, int startBlock)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public final int size
Size in bytes of the requested area


usedBlocks

public final int usedBlocks
Size in blocks of the requested area


valid

public boolean valid
Flag which is true if the region is valid and in use. Set to false on free()

Constructor Detail

Region

public Region(int size,
              int usedBlocks,
              int startBlock)


Copyright © 2008-2011 ThimbleWare. All Rights Reserved.