Methods Summary |
---|
public DirectByteBuffer | getBuffer()
return( buffer );
|
public CacheFileWithCache | getFile()
return( file );
|
public long | getFilePosition()
return( offset );
|
protected long | getLastUsed()
return( last_used );
|
public int | getLength()
return( size );
|
protected java.lang.String | getString()
return( "[" + offset + " - " + (offset+size-1) + ":" + buffer.position(DirectByteBuffer.SS_CACHE)+"/"+buffer.limit(DirectByteBuffer.SS_CACHE)+"]" );
|
protected int | getType()
return( entry_type );
|
protected int | getUsageCount()
return( usage_count );
|
public boolean | isDirty()
return( dirty );
|
protected void | resetBufferPosition()
buffer.position( DirectByteBuffer.SS_CACHE, buffer_pos );
|
public void | setClean()
dirty = false;
|
protected void | used()
last_used = SystemTime.getCurrentTime();
usage_count++;
|