jdbm.recman
Interface RecordCache


public interface RecordCache

This interface is used to synchronize

RecordManager ensures that the cache has the up-to-date information by way of an invalidation protocol.


Method Summary
 void flush(long recid)
          Notification to flush content related to a given record.
 void flushAll()
          Notification to flush data all of records.
 void invalidate(long recid)
          Notification to invalidate content related to given record.
 void invalidateAll()
          Notification to invalidate content of all records.
 

Method Detail

flush

public void flush(long recid)
           throws java.io.IOException
Notification to flush content related to a given record.

Throws:
java.io.IOException

flushAll

public void flushAll()
              throws java.io.IOException
Notification to flush data all of records.

Throws:
java.io.IOException

invalidate

public void invalidate(long recid)
                throws java.io.IOException
Notification to invalidate content related to given record.

Throws:
java.io.IOException

invalidateAll

public void invalidateAll()
                   throws java.io.IOException
Notification to invalidate content of all records.

Throws:
java.io.IOException


Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net