jdbm.recman
Interface RecordCache


public interface RecordCache

This interface is used for synchronization.

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

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

Throws:
java.io.IOException

flushAll

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

Throws:
java.io.IOException

invalidate

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

Throws:
java.io.IOException

invalidateAll

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

Throws:
java.io.IOException


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