osmq.mque
Class PersistableMQue
java.lang.Object
osmq.mque.MQue
osmq.mque.PersistableMQue
- All Implemented Interfaces:
- EventCounter, java.io.Serializable, Writable
- Direct Known Subclasses:
- PersistentMQue, SubscriberQueue
- public class PersistableMQue
- extends MQue
An MQue that can load and persist entries to/from a file
- See Also:
- Serialized Form
Methods inherited from class osmq.mque.MQue |
clear, clearHighestSize, close, flushToPullCount, getBytesWritten, getEventCount, getInstanceName, getMaxThreshold, getPagingThreshold, getPullCount, getPushCount, highestSize, isClosed, isEmpty, isHaltReads, isHaltWrites, isOpen, nextElement, open, putBack, readBytes, readBytesNoWait, readString, readStringNoWait, setHaltWrites, setInstanceName, setMaxThreshold, setPagingThreshold, size, toString, writeAllFromQue, writeBytes, writeBytesNoDuplicate, writeString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PersistableMQue
public PersistableMQue()
PersistableMQue
public PersistableMQue(java.lang.String name)
saveAsLocalFile
public final void saveAsLocalFile()
throws java.io.IOException
- Throws:
java.io.IOException
loadFromLocalFile
public final void loadFromLocalFile()
throws java.io.IOException
- Throws:
java.io.IOException
loadFromLocalFile
public final void loadFromLocalFile(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
getSaveFileName
public java.lang.String getSaveFileName()