Package org.hd.d.pg2k.svrCore

Core classes needed by the entire PG2K server, any EJBs, client applications, WAR, etc, and that do not depend on any PG2K classes ourside this svrCore.

See:
          Description

Interface Summary
AllExhibitProperties.AEPFilter Filter class for exhibits in AEP.
ExhibitPropsComputableMutableVoteCacheIF Interface for retrieving/calculating votes and correlations.
FileTools.RandomAccessData Random-access read-only contiguous file accessor.
MemoryTools.Compactable Marker interface indicating class is suitable for compacting in memory.
MemoryTools.Internable Marker interface indicating class is suitable for deduping by intern().
SimpleLoggerIF Simple interface for very simple logger.
 

Class Summary
AccessionData Immutable, Serializable collection of all the accession data for an exhibit.
AddrTools This class has tools for IP-address and DNS manipulation.
AddrTools.AddrPrefix Immutable store of a non-null, non-zero-length unsigned-byte IP(v4) address prefix.
AllExhibitImmutableData Immutable set of names and ExhibitStaticAttr for all exhibits.
AllExhibitProperties Set of all exhibit names and properties.
AllExhibitProperties.ExhibitDataSource Class that provides data source to get at exhibit data semi-random access or as a sequential stream.
AllExhibitPropertiesDelta Class to compute/represent changes from one AEP instance to another.
AllExhibitPropertiesDelta.Change Data for new/changed exhibit; immutable and serialisable.
Compact7BitString Compact immutable in-memory and on-the-wire representation of a (short) 7-bit ASCII String.
Compact7BitString.StaticDictionary Immutable static dictionary to improve in-memory compression.
Compact7BitString.WithDict Specialised immutable sub-class to allow use with a StaticDictionary.
Compact7BitString.WordChars Boolean true/false flags for what are considered "word" chars; initialised on first use.
CoreConsts This holds fundamental compile-time constants for all parts of PG2K.
DefInputStream Like GZIPInputStream but no GZIP or ZLIB header or checksum.
DefOutputStream Like GZIPOutputStream but no GZIP header or checksum.
ExhibitAttrUtils Basic utilities for retrieving and handling exhibit attribute/discardable words.
ExhibitAttrUtils.ExhibitAttrWords This class contains exhibit attribute words.
ExhibitAttrUtils.ExhibitAttrWords.IndirectComparatorStub Device to allow serialisation of trivial stubs and do proper quality test.
ExhibitAttrUtils.ExhibitAttrWords.SmartOrderComp Class to implement our "smart" order Comparator.
ExhibitAttrUtils.ExhibitAttrWords.SubjOrderComp Class to implement our "subject" order Comparator.
ExhibitFile Routines to handle the filesystem representation of an exhibit.
ExhibitName Routines to validate/parse an exhibit name.
ExhibitPropsComputable Immutable (and serialisable) store of all immutable computable auxiliary properties of a single exhibit.
ExhibitPropsComputableMutable Immutable (and serialisable) store of all ephemeral computable auxiliary properties of a single exhibit.
ExhibitPropsComputableMutable.Factor Single (immutable) component of multi-factor value.
ExhibitPropsComputableMutableVoteCache Class to cache vote computations and correlated values.
ExhibitPropsComputableMutableVoteCache.Accum The class in which we accumulate stats while recomputing correlations.
ExhibitPropsGlobalImmutable This contains global immutable exhibit data over all exhibits that must live with the exhibits.
ExhibitPropsGlobalImmutable.EPGIDiff Immutable record of the difference between two EPGI instances.
ExhibitPropsGlobalImmutable.PropertiesDiffResourceBundle Thin wrapper/holder for a local treedesc resource bundle based on PropertiesDiff.
ExhibitPropsGlobalImmutable.RBControl  
ExhibitPropsLoadable Immutable (and serialisable) store of all loadable auxiliary properties of a single exhibit.
ExhibitStaticAttr Immutable, Serializable collection of all the static attributes of an exhibit.
ExhibitThumbnails Immutable, Serializable thumbnails/samples of an exhibit.
ExhibitThumbnails.Thumbnail Immutable, Serializable single thumbnail (standard or small).
FileTools This class has tools for UNIX-like file features.
FileTools.RunnerThread Thread to encapsulate execution of command.
GenUtils Some general utility methods of use throughout the application.
HostUtils Some simple common host-name utilities.
I18NTools Holds constants and some utility methods for internationalisation (i18n).
ImageUtils Basic image-handling utilities.
JNDIUtils This holds some JNDI utilities.
LocaleBeanBase Created by IntelliJ IDEA.
MemoryTools This contains utilities for memory intensive/sensitive operations.
MemoryTools.SimpleLRUMap<K,V> Simplified thread-safe map with fixed capacity that discards excess items in LRU (Least Recently Used) order.
MemoryTools.SimpleLRUMapAutoSizeForHitRate<K,V> Simplified map with fixed capacity that discards excess items in LRU (Least Recently Used) order to meet a hit/miss ratio goal.
Rnd Provides random number sources to be shared across the system.
ROByteArray An immutable, Serializable, wrapper for a byte array.
TextUtils Some simple common text utilities of scope throughout the application.
TextUtils.Base64Cache Private to encode8To6()/decode8To6(); automagically created on first access.
ThreadUtils Utilities to assist with threading/concurrency.
ThreadUtils.DaemonThreadFactory A factory for creating daemon pool threads.
Tuple Support for anonymous tuples such as pairs.
Tuple.ComparablePair<T1 extends Comparable<T1>,T2 extends Comparable<T2>> A simple immutable Comparable pair (though the referenced items may be mutable).
Tuple.ComparableTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>,T3 extends Comparable<T3>> A simple immutable Comparable pair (though the referenced items may be mutable).
Tuple.Pair<T1,T2> A simple immutable pair (though the referenced items may be mutable).
Tuple.Triple<T1,T2,T3> A simple immutable 3-tuple/triple (though the referenced items may be mutable).
VarTools This class has tools handling common SystemVariables.
 

Enum Summary
CompressionLevel A ranked series of compression methods/levels used in PG2K.
ExhibitPropsComputableMutableVoteCache.CorrType Correlation types.
 

Exception Summary
AllExhibitPropertiesDelta.DiffException Minimal checked exception thrown to indicate that diff could not be generated/applied.
PGBeanException Base class of all (checked) EJB exceptions thrown by us.
PGException Base class of specialised exceptions thrown by PG2K.
PGMasterNotInServiceException Thrown to indicate that the master system is not available.
 

Package org.hd.d.pg2k.svrCore Description

Core classes needed by the entire PG2K server, any EJBs, client applications, WAR, etc, and that do not depend on any PG2K classes ourside this svrCore.


DHD Multimedia Gallery V1.50.55

Copyright (c) 1996-2008, Damon Hart-Davis. All rights reserved.