Package ostore.util

Interface Summary
Clock.ClockCB  
Digestible An interface for classes which understand how to use SecureHashBuffers to hash themselves.
QuickSerializable QuickSerializable is an interface that should be implemented by any OceanStore object intended to be sent "over the wire", stored to disk, or otherwise leave the happy confines of the JVM.
SecureHash SecureHash is the interface used to represent classes which are secure hashes An example is the SHA1 hash
SecureVerify SecureVerify is the interface used to represent classes which are used to securely verify some piece of data.
VerifiableBlock The VerifiableBlock interface should be implemented by all objects that need to be self-verifiable.
 

Class Summary
Assert Assert is a closure used to assert various things in the code (this can be useful for debugging).
ByteUtils ByteUtils is a class with commonly needed operations for converting various built-in types to bytes and back.
Carp A convenience class for generating error messages, complete with "carp" and "croak", borrowed from PERL.
Clock  
Clock.DefaultClockCB  
Debug Debug provides printing facilities for debug purposes.
DebugFlags  
IntHashtable This class implements a hashtable, which maps keys to values.
NodeId Abstract node identifier.
Pair To avoid making a whole bunch of two member classes.
PriorityQueue PriorityQueue is a (blocking) priority queue.
QSArray  
QSBool  
QSByteArray QSByteArray.java
QSDate QSDate.
QSInt  
QSIO The QSIO class contains general utility methods for writing/reading QuickSerializable object to/from files.
QSLong  
QSString A dull mirror of the java.lang.String class which implements ostore.util.QuickSerializable.
QSVector A QSVector is a cousin of java.lang.Vector which implements ostore.util.QuickSerializable.
QSWindow The QSWindow object is a data structure similiar to a queue.
Queue A simple Queue.
SecureHashBuffer A MessageDigest-like interface for building SecureHashes.
SHA1Hash SHA1Hash is the hash class used by all entities which are SHA1 hashes.
SHA1HashBuffer A SecureHashBuffer that produces SHA1Hashs.
SHA1Verify SHA1Verify is the class which stores a list of SHA1Hashes which sould be serially concatenated and hashed to produce a GUID or other verifier.
StageId This class stores contants by which to refer to stages in the running system.
StopWatch StopWatch provides timing utilities for profiling code performance.
Timestamp  
Types A class to store the compile-time constants for the types of each subtype of QuickSerializable in the system, and the mapping between these two.
TypeTable Allows for the creation of new QuickSerializable objects from their type codes and a byte array.
VerifiableBlockTag The Tapestry tag published by object replicas (second-tier and clients).
VID A wrapper class for a DataObject version identifier.
 

Exception Summary
AssertionViolatedException  
BlockNotGuidVerifiableException The BlockNotGuidVerifiableException is thrown when an attempt is made to compute or verify the guid of a block that that has not yet been archived.
InvalidConfigFileException An exception caused by incorrect or incomplete config files.
QSException An exception class thrown during decode when it becomes clear that the encoded data does not represent an object of the type it is trying to be decoded to.
TypeTable.DuplicateTypeCode An exception class thrown when a given type code is passed to TypeTable.register_type(java.lang.String, int) for the second time with a different Java type than the original call.
TypeTable.NoSuchTypeCode An exception class thrown when a request to TypeTable.new_object(int, byte[], int[]) passes in an un-registered type code.
TypeTable.NotQuickSerializable An exception class thrown when the object named by the parameter name to TypeTable.register_type(java.lang.String, int) does not refer to a class which implements QuickSerializeable.