Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.classpath.tools.rmi
Interface Persistent  view Persistent download Persistent.java

All Known Implementing Classes:
PersistentBidiHashTable, PersistentHashTable

public interface Persistent

The static fields, shared by the multiple classes, implementing the persistent work.


Nested Class Summary
static class Persistent.ExitTask
          Sheduled termination task.
 
Field Summary
static long ALWAYS_UPDATE
          States how long the database may stay not updated during the intensive operations, in ms.
static long SAVE_AT_MOST_AFTER
          The longest time, in ms, after that the database content on the disk must be updated.
static java.util.Timer timer
          The timer, sheduling all disk database update events, shared by all instances.
 
Method Summary
 void writeContent()
          Write the database content to the disk.
 

Field Detail

timer

public static final java.util.Timer timer
The timer, sheduling all disk database update events, shared by all instances.


SAVE_AT_MOST_AFTER

public static final long SAVE_AT_MOST_AFTER
The longest time, in ms, after that the database content on the disk must be updated. The algorithm is written to avoid the very frequent writings to the disk.

See Also:
Constant Field Values

ALWAYS_UPDATE

public static final long ALWAYS_UPDATE
States how long the database may stay not updated during the intensive operations, in ms. Otherwise the intensively used structure may never be stored to the disk.

See Also:
Constant Field Values
Method Detail

writeContent

public void writeContent()
Write the database content to the disk.