|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Package org.hd.d.pg2k.clApp.atHome |
|---|
| Class org.hd.d.pg2k.clApp.atHome.AHJWSMain extends javax.swing.JFrame implements Serializable |
|---|
serialVersionUID: -8895213711913005041L
| Serialized Fields |
|---|
SimpleLoggerIF logger
AHStandaloneMain logic
AboutAction aboutAction
ExitAction exitAction
javax.swing.JLabel status
AHJWSMain.SISListener sisListener
AHJWSMain.MouseHandler mouseHandler
java.awt.event.ActionListener pollAL
| Package org.hd.d.pg2k.clApp.uploader |
|---|
| Class org.hd.d.pg2k.clApp.uploader.UploaderMain extends javax.swing.JFrame implements Serializable |
|---|
serialVersionUID: -8885213711913005041L
| Serialized Fields |
|---|
SimpleLoggerIF logger
UploaderLogic logic
SelectAction selectAction
AboutAction aboutAction
ExitAction exitAction
LocaleBeanBase lbb
javax.swing.JLabel status
UploaderMain.SISListener sisListener
UploadInfoBean uib
javax.swing.JCheckBox autoSuffixCheckBox
UploaderMain.MouseHandler mouseHandler
java.util.concurrent.atomic.AtomicInteger uploadTableEditRow
We use AtomicInteger for lockless thread-safety.
javax.swing.table.AbstractTableModel uploadTableModel
Call fireTableDataChanged() or something more fine-grained when the data has changed to allow proper redrawing.
javax.swing.table.AbstractTableModel queueTableModel
Call fireTableDataChanged() or something more fine-grained when the data has changed to allow proper redrawing.
java.awt.event.ActionListener pollAL
| Package org.hd.d.pg2k.svrCore |
|---|
| Class org.hd.d.pg2k.svrCore.AccessionData extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -2699150966581906068L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
java.lang.Long date
This can the same as, or later than, the exhibit's timestamp. If earlier than the exhibit's timestamp it may mean that the exhibit has been altered in some way.
java.lang.Long size
This should be identical to the current exhibit length else it may mean that the exhibit has been altered in some way.
java.lang.Integer hashCRC32
ROByteArray hashMD5
We use MD5 since it is commonly used elsewhere as a file checksum, and will in practice detect any conceivable corruption in exhibits especially given that we separately record the length.
| Class org.hd.d.pg2k.svrCore.AllExhibitImmutableData extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 1227490240470952655L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException| Serialized Fields |
|---|
long timestamp
This information is accessible without holding any locks.
int length
This emulates the length field of an array while size() emulates the behaviour of collections...
This information is accessible without holding any locks.
| Class org.hd.d.pg2k.svrCore.AllExhibitProperties extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -2563720785711714753L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
ExhibitPropsGlobalImmutable epgi
AllExhibitImmutableData aeid
java.util.Map<K,V> loadedProps
The keys here are canonicalised against aeid so that we don't have duplicate String values knocking about.
Note that keys may actually be String during deserialisation of older formats.
java.util.Map<K,V> computedProps
An instance of ExhibitPropsComputable is created on first demand and posted to the map. No lock is held while the computation is done, so redundant computations are possible, but a high degree of concurrency is available in return.
Entries are never removed from this map, and null is never posted as a value.
Defensively copied during deserialisation.
Note that keys may actually be String during deserialisation of older formats.
long longHash
Is guaranteed to be zero if the exhibit set is empty, and strictly positive otherwise.
Computable data (and hashNotChangedSince) is excluded from the hash since it is derived from other data that is included in the hash.
long constructedAt
We keep this private.
long hashNotChangedSince
If a new AllExhibitProperties object is constructed from scratch each time then this will be the time that the object was constructed, and so we can regard this as a an `exhibits have not changed since' time.
Strictly positive unless there are no exhibits, in which case this is zero (to prompt early recomputation!).
| Class org.hd.d.pg2k.svrCore.AllExhibitPropertiesDelta extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8608225153676490831L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException| Serialized Fields |
|---|
long longHashAEPBefore
long longHashAEPAfter
long hashNotChangedSinceAfter
long timestampAEIDBefore
long timestampAEIDAfter
int lengthAEIDBefore
int lengthAEIDAfter
ExhibitPropsGlobalImmutable.EPGIDiff epgiDiff
| Class org.hd.d.pg2k.svrCore.AllExhibitPropertiesDelta.DiffException extends java.lang.Exception implements Serializable |
|---|
serialVersionUID: -330320938545639614L
| Class org.hd.d.pg2k.svrCore.Compact7BitString extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5836076660507008468L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
We don't write *any* default state.
We must never be asked to serialise if we have a (non-null) dictionary.
We must never be asked to serialise if the text is too long for us to encode.
java.io.IOExceptionprivate java.lang.Object readResolve()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
We almost always write ourself out as a String assuming that a good general-purpose compressor such as ZIP will do better than our memory-efficient form given the original text, but if we manage to find a lot of compressibility then we'll save ourself directly.
If a static dictionary is in use then we force serialisation as a String for safety (to avoid ambiguity).
java.io.ObjectStreamException| Class org.hd.d.pg2k.svrCore.CS8Bit extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -475170579269562789L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
We don't write *any* default state.
We must never be asked to serialise if we have a (non-null) dictionary.
We must never be asked to serialise if the text is too long for us to encode.
java.io.IOExceptionprotected java.lang.Object readResolve()
| Class org.hd.d.pg2k.svrCore.ExhibitAttrUtils.ExhibitAttrWords extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -1067125631686499751L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
long longHash
java.lang.String[] attrWords
We are careful never to share a reference to this outside the class, eg upon deserialisation.
This is the primary store of attribute words information.
java.util.Comparator<T> SUBJECT_ORDER
java.util.Comparator<T> SMART_ORDER
equals() is true iff referring underlying comparator's backing AEP has an unchanged longHash.
| Class org.hd.d.pg2k.svrCore.ExhibitPropsComputable extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -8518817446313821597L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
protected java.lang.Object writeReplace()
This allows a stream compressor to effectively remove the redundancy between instances of this class on the wire as well as internal redundancies.
We assume that there will almost never be identical instances on one stream so we don't mind writing new copies each time where it does happen.
| Serialized Fields |
|---|
java.awt.Dimension xyDimensions
Because Dimension is mutable, we hand out copies of it to callers.
java.lang.Object metadata
Note that this is stored without the redundant top-level tag.
Marked volatile to allow safe lockless update by compact().
| Class org.hd.d.pg2k.svrCore.ExhibitPropsComputableMutable extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8518817446315221597L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
NOTE: this may not always preserve all values as expected in future.
protected java.lang.Object writeReplace()
NOTE: this is effectively a LOSSY compression mechanism.
| Serialized Fields |
|---|
long staleAfter
If the stale date is too far in the future for us to believe, ie much more than would be allowed with this version of the object, then we treat the data as stale in case it is from a version of this object with very different staleness limits or there was a persistence error.
int goodness
Has enough significant digits to allow a total ordering even over a very large number of exhibits.
This is nominally logically thought of in the range [-1.0, +1.0].
| Class org.hd.d.pg2k.svrCore.ExhibitPropsComputableMutableVoteCache extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 7048481653530545311L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionprotected java.lang.Object writeReplace()
| Serialized Fields |
|---|
java.util.Hashtable<K,V> voteCorrCacheMap
One valid key format is a full, valid exhibit name as a Name.ExhibitFull
Other keys are of the form of a CorrType name followed by a colon followed by the rest of the key.
This state can be serialised; it is also recomputed on demand.
We use a Hashtable to be thread-safe.
int UPDATE_TIME_LIMIT_MS
This should still let us get a reasonable amount of work done so that we can rebuild the data incrementally if necessary.
java.util.concurrent.locks.ReentrantLock _uCoreLock
java.util.concurrent.Semaphore _uStartSem
| Class org.hd.d.pg2k.svrCore.ExhibitPropsGlobalImmutable extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -1067125631686499752L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
long locationDBTimestamp
PropertiesDiff locationDB
May be absent if there was no location data available at AEP creation or when deserialising an older AEP that has no location data, or as a more efficient way to represent an empty value (we always store an empty value as null for efficiency).
long treedescTimestamp
PropertiesBundleDiff treedesc
May be absent if there was no location data available at AEP creation or when deserialising an older AEP that has no location data, or as a more efficient way to represent an empty value (we always store an empty value as null for efficiency).
long longHash
Will be zero if this contains no data.
| Class org.hd.d.pg2k.svrCore.ExhibitPropsGlobalImmutable.EPGIDiff extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -3566302089418451668L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
long locationDBTimestampNew
PropertiesDiff locationDBDiff
long treedescTimestampNew
PropertiesBundleDiff treedescDiff
| Class org.hd.d.pg2k.svrCore.ExhibitPropsLoadable extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8659120481539311156L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
protected java.lang.Object writeReplace()
This allows a stream compressor to effectively remove the redundancy between instances of this class on the wire as well as internal redundancies.
We assume that there will almost never be entirely identical instances on one stream so we don't mind writing new copies each time where it does happen.
| Serialized Fields |
|---|
java.lang.Object description
Support for the byte[] and ROByteArray formats exists mainly for backwards compatibility, ie deserialising old values. All bytes in the source string are of value 0--127 (ie ASCII 7-bit).
Marked volatile to allow safe lockless update by compact().
Location.Base location
AccessionData accession
| Class org.hd.d.pg2k.svrCore.ExhibitStaticAttr extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -8233812711746526095L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
java.lang.CharSequence filePath
The field type is CharSequence to allow reading in of old String-valued instances but allows holding of ExhibitFileName instances at run-time.
All run-time instances will have the same type, except possibly fleetingly during (de)serialisation.
long length
long timestamp
| Class org.hd.d.pg2k.svrCore.ExhibitThumbnails extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2686345754458313314L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundExceptionprotected java.lang.Object readResolve()
| Serialized Fields |
|---|
ExhibitThumbnails.Thumbnail sml
ExhibitThumbnails.Thumbnail std
long created
| Class org.hd.d.pg2k.svrCore.ExhibitThumbnails.Thumbnail extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -1279061480258712366L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialization Overview |
|---|
| Serialized Fields |
|---|
| Class org.hd.d.pg2k.svrCore.LocaleBeanBase extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -6180248508840300658L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
java.util.Locale userLocale
| Class org.hd.d.pg2k.svrCore.Name extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2798109831174584816L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
Name prev
Is protected since potentially to derived instances.
short terminiLengths
This is part of the compact serialised state.
| Class org.hd.d.pg2k.svrCore.Name.ExhibitFull extends Name implements Serializable |
|---|
serialVersionUID: 8993934283490189577L
| Class org.hd.d.pg2k.svrCore.PGBeanException extends java.lang.Exception implements Serializable |
|---|
serialVersionUID: 2313414189035018929L
| Class org.hd.d.pg2k.svrCore.PGException extends java.io.IOException implements Serializable |
|---|
serialVersionUID: 3617032881609799000L
| Class org.hd.d.pg2k.svrCore.PGMasterNotInServiceException extends java.io.IOException implements Serializable |
|---|
serialVersionUID: -4026683164624478589L
| Class org.hd.d.pg2k.svrCore.ROByteArray extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 3806652319473305560L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
byte[] payload
| Class org.hd.d.pg2k.svrCore.ROIntArray extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 4100310899376658916L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
int[] payload
| Class org.hd.d.pg2k.svrCore.Stratum extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 654463415117548565L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
byte stratum
short rootDelay
java.lang.String upstreamName
boolean upstreamConserving
| Class org.hd.d.pg2k.svrCore.Tuple.ComparablePair extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5550500104003361225L
| Serialized Fields |
|---|
java.lang.Comparable<T> first
java.lang.Comparable<T> second
| Class org.hd.d.pg2k.svrCore.Tuple.ComparableTriple extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -4570980722385392467L
| Serialized Fields |
|---|
java.lang.Comparable<T> first
java.lang.Comparable<T> second
java.lang.Comparable<T> third
| Class org.hd.d.pg2k.svrCore.Tuple.Pair extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5550500104003361224L
| Serialized Fields |
|---|
java.lang.Object first
java.lang.Object second
| Class org.hd.d.pg2k.svrCore.Tuple.Triple extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -4570980722385392466L
| Serialized Fields |
|---|
java.lang.Object first
java.lang.Object second
java.lang.Object third
| Package org.hd.d.pg2k.svrCore.location |
|---|
| Class org.hd.d.pg2k.svrCore.location.Location.Base extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -7784138110080680826L
| Serialized Fields |
|---|
java.lang.String type
boolean specific
| Class org.hd.d.pg2k.svrCore.location.Location.DoubleValueAndBounds extends Location.ValueAndBounds implements Serializable |
|---|
serialVersionUID: -666396322028089442L
| Class org.hd.d.pg2k.svrCore.location.Location.Estd extends Location.Time implements Serializable |
|---|
serialVersionUID: 3108417206234772844L
| Serialized Fields |
|---|
Location.DoubleValueAndBounds E
Location.DoubleValueAndBounds N
Location.DoubleValueAndBounds Alt
| Class org.hd.d.pg2k.svrCore.location.Location.LongValueAndBounds extends Location.ValueAndBounds implements Serializable |
|---|
serialVersionUID: 4934329592740791248L
| Class org.hd.d.pg2k.svrCore.location.Location.Time extends Location.Base implements Serializable |
|---|
serialVersionUID: 3902949361757128661L
| Serialized Fields |
|---|
Location.LongValueAndBounds Time
| Class org.hd.d.pg2k.svrCore.location.Location.ValueAndBounds extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 1802455018686196426L
| Serialized Fields |
|---|
java.lang.Number value
java.lang.Number error
| Class org.hd.d.pg2k.svrCore.location.LocationMap extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -8356330012477285265L
| Serialized Fields |
|---|
long timestamp
java.util.Map<K,V> mapFromNamePrefixToLocation
A HashMap is preferred for speed.
Name revLookupSection
int revLookupMinWords
| Package org.hd.d.pg2k.svrCore.props |
|---|
| Class org.hd.d.pg2k.svrCore.props.GenProps extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8715644348905699663L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
long timestamp
java.util.Map<K,V> gen
int WEBSVR_MIN_EX_IMATTR_RECHECK_MS
int WEBSVR_SYSPROPS_RECHECK_MS
int WEBSVR_MAX_CACHEABLE_EX_BYTES
int WEBSVR_TN_CACHEPC
int WEBSVR_BW_LIMITER
int WEBSVR_MAX_EX_BYTES
java.lang.String WEBSVR_META_KEYWORDS
java.lang.String WEBSVR_META_DESCRIPTION
java.lang.CharSequence WEBSVR_BG_IMAGE
boolean WEBSVR_SIMPLEAD_ALLOW
int totalSimpleAdWeight
GenProps.SimpleAd[] simpleAds
GenProps.ClassifiedAd[] classifiedAds
java.util.SortedMap<K,V> authDB
java.util.Map<K,V> popWeights
byte WEBSVR_EX_HOTLINK_LIMITER
java.lang.String WEBSVR_EX_HOTLINK_DIVERT_URL
java.util.Set<E> hotLinkAllowHosts
java.util.regex.Pattern hotLinkAllowHostsRegex
java.util.Set<E> hotLinkDisallowHosts
java.util.regex.Pattern hotLinkDisallowHostsRegex
java.util.Set<E> DNSBLs
| Class org.hd.d.pg2k.svrCore.props.GenProps.AuthData extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2647433856891011944L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
java.lang.String auth
java.lang.String name
java.lang.String www
java.lang.String email
java.lang.String desc
| Class org.hd.d.pg2k.svrCore.props.GenProps.ClassifiedAd extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8848447664623542985L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
java.lang.String regex
java.lang.String code
long start
long end
java.lang.String lang
java.lang.String countries
| Class org.hd.d.pg2k.svrCore.props.PropertiesBundleDiff extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 4307342238100184047L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
int sizeBefore
int sizeAfter
| Class org.hd.d.pg2k.svrCore.props.PropertiesDiff extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 4307342238100184046L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
int sizeBefore
int sizeAfter
| Class org.hd.d.pg2k.svrCore.props.SecurityProps extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -7930248582951598929L
| Serialized Fields |
|---|
long timestamp
java.util.Properties gensec
java.lang.String TUNNEL_CLIENT_LIST
| Package org.hd.d.pg2k.svrCore.uploader |
|---|
| Class org.hd.d.pg2k.svrCore.uploader.ExhibitHandlerBeanBase extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8025048065146981171L
| Serialized Fields |
|---|
boolean onlyAllowExtant
If true, file types and authors can only be selected from ones already represented in the production database.
AllExhibitProperties aep
java.lang.String suffix
java.lang.String author
java.lang.String category
java.util.List<E> attributes
This item may be replaced but is not mutated in situ and is immutable and so can be safely handed out to callers.
| Class org.hd.d.pg2k.svrCore.uploader.UploadInfoBean extends ExhibitHandlerBeanBase implements Serializable |
|---|
serialVersionUID: -6989233428145950946L
| Serialized Fields |
|---|
AllExhibitImmutableData uploadAeid
int number
java.lang.String mainWords
java.lang.String description
| Package org.hd.d.pg2k.svrCore.vars |
|---|
| Class org.hd.d.pg2k.svrCore.vars.EventVariableValue extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 5094323684152972705L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
This does not attempt to build some of the transient state assembled by the constructor, nor do defensive copying or significant validation.
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Object readResolve()
| Serialized Fields |
|---|
SimpleVariableDefinition def
EventPeriod period
long intervalNumber
boolean authoratitive
int totalEventCount
int[] counts
Same length as values[].
java.lang.Object[] values
Same length as counts[].
The general case is that a value's rank is its position in this array.
| Class org.hd.d.pg2k.svrCore.vars.EventVariableValue.ValueInfo extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 887928932975973213L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
int rank
int count
| Class org.hd.d.pg2k.svrCore.vars.EventVariableValueBuffer extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -1721389511619513375L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream oos)
throws java.io.IOException
java.io.IOException| Serialized Fields |
|---|
SimpleVariableDefinition def
EventPeriod period
long intervalNumber
int totalEventCount
Mutable; accessed under the instance lock.
java.util.Map<K,V> counts
Not thread-safe (access should be protected by other means).
| Class org.hd.d.pg2k.svrCore.vars.EventVariableValuePeriodRow extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -614477516323489097L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
SimpleVariableDefinition def
EventPeriod period
EventVariableValueBuffer all
Will never be authoritative.
EventVariableValueBuffer current
Initially created with value suitable to receive a new event immediately.
Will never be authoritative.
EventVariableValue[] historical
The intervalNumber of any entry at index i must be current.getIntervalNumber()-1-i.
FIXME: copy defensively during deserialisation.
| Class org.hd.d.pg2k.svrCore.vars.EventVariableValueSet extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -1932690647089333134L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
SimpleVariableDefinition def
java.util.EnumMap<K extends java.lang.Enum<K>,V> byPeriod
| Class org.hd.d.pg2k.svrCore.vars.InstanceID extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -2320309863687936784L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
long ID
| Class org.hd.d.pg2k.svrCore.vars.SimpleVariableDefinition extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2361192791747313629L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException| Serialized Fields |
|---|
java.lang.String name
int type
boolean persistent
boolean readOnly
boolean event
java.util.EnumSet<E extends java.lang.Enum<E>> evPeriodSubset
boolean local
int maxDiffEventCount
| Class org.hd.d.pg2k.svrCore.vars.SimpleVariableValue extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5094323683052972705L
| Serialization Methods |
|---|
protected java.lang.Object readResolve()
| Serialized Fields |
|---|
SimpleVariableDefinition def
java.lang.Object value
long timestamp
java.util.Map<K,V> globalMap
It must be null for local variables.
For global variables where this is non-null it must contain only keys that are distinct InstanceID values, and only values that are SimpleVariableValues with exactly the same definition and a null globalMap.
Is immutable (if non-null) so that it can be returned directly.
Never an empty Map; null is used in this case.
| Package org.hd.d.pg2k.webSvr.bgImg |
|---|
| Class org.hd.d.pg2k.webSvr.bgImg.BgImageServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: 2040799493050847367L
| Package org.hd.d.pg2k.webSvr.catalogue |
|---|
| Class org.hd.d.pg2k.webSvr.catalogue.PaginationBeanBase extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -3756427234954341532L
| Serialized Fields |
|---|
int numberOfItems
int pg
The page number must be positive and less than numberOfPages() unless numberOfPages is 0, in which case the page number must be exactly 1.
This property matches the property named by WebConsts.PAGE_NUMBER_PARAMETER to allow for easy setting of the property from a JSP.
| Class org.hd.d.pg2k.webSvr.catalogue.PaginationBeanNumeric extends PaginationBeanBase implements Serializable |
|---|
serialVersionUID: -5376824526954786928L
| Class org.hd.d.pg2k.webSvr.catalogue.PaginationBeanTree extends PaginationBeanBase implements Serializable |
|---|
serialVersionUID: 8393863768211031724L
| Serialized Fields |
|---|
Name nodePrefix
java.util.List<E> prefixList
| Class org.hd.d.pg2k.webSvr.catalogue.SearchPageJavaBean extends ExhibitHandlerBeanBase implements Serializable |
|---|
serialVersionUID: -8656439331186143583L
| Serialized Fields |
|---|
java.lang.String q
int recentDaysFilter
long lastSearchTimeMs
| Class org.hd.d.pg2k.webSvr.catalogue.TreeFilterServletAllExhibits extends TreeFilterServletBase implements Serializable |
|---|
serialVersionUID: 5283378272843090137L
| Class org.hd.d.pg2k.webSvr.catalogue.TreeFilterServletAllIcons extends TreeFilterServletBase implements Serializable |
|---|
serialVersionUID: -3815214610456191652L
| Class org.hd.d.pg2k.webSvr.catalogue.TreeFilterServletBase extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: 2376699413596151320L
| Serialized Fields |
|---|
TreeFilterBean tfb
| Package org.hd.d.pg2k.webSvr.exhibit |
|---|
| Class org.hd.d.pg2k.webSvr.exhibit.AbstractFilterBean extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -4409526925504499328L
| Serialized Fields |
|---|
Expr expr
This is persisted if the object is serialised.
boolean memorySensitiveCache
This can be set or reset at any time but is only effective when the cache is filled, so is probably done once, before the first set of values is retrieved.
By default this value is true and the cache is memory sensitive, ie won't cause the system to run out of memory.
Accessed under the instance lock.
This is persisted if the object is serialised.
int expiryInterval
Is volatile so as to allow access without a lock.
AbstractFilterBean.MyObserver observer
This inner object has only a SoftReference to us.
java.lang.Runnable emergencyFreeHook
When it is called it unguards any SoftReferences allowing memory to be freed rather than an OutOfMemoryException getting thrown somewhere in the application.
It is assumed that MemoryTools holds this via a WeakReference so that it will not inhibit this instance being GCed.
java.lang.String name
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtAll extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -3538216625320264998L
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtByAuthor extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 1926524023966666518L
| Serialized Fields |
|---|
java.lang.String[] acceptableAuthors
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtByCategory extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -2337407306687756258L
| Serialized Fields |
|---|
java.lang.String[] acceptableCategories
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtByEstdLocationCentre extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 1246204565122236630L
| Serialized Fields |
|---|
Location.Estd area
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtNothing extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 7375589684054049955L
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtPrefixMatch extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 8580496714859968839L
| Serialized Fields |
|---|
java.lang.String prefix
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtSimpleSubstringMatch extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5197565900747314559L
| Serialized Fields |
|---|
java.lang.String subString
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.filtSimpleSuffixMatch extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -6968644372319333517L
| Serialized Fields |
|---|
java.lang.String suffix
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortByGoodness extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -5596318067630417407L
| Serialized Fields |
|---|
int nMax
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortByName extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 9042557392754106067L
| Serialized Fields |
|---|
java.lang.String sortType
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortByTimestamp extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -8775508119553092181L
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortRandomN extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 2078921830149773203L
| Serialized Fields |
|---|
int n
java.lang.String seed
| Class org.hd.d.pg2k.webSvr.exhibit.BuiltInFilters.sortReverse extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -3097396087855039990L
| Class org.hd.d.pg2k.webSvr.exhibit.DataSourceBean extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -8932316265828567742L
| Serialization Methods |
|---|
private void readObject(java.io.ObjectInputStream ois)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException| Serialized Fields |
|---|
WebUtils.ServletLoggerWithFallback logger
DataSourceBean.AEPLinkedKey iterEPCM
int PROPS_REPOST_INTERVAL_MS
long _lastGoodPostProps
boolean destroyed
java.lang.Boolean _slave
This value may be persisted.
Volatile to be accessed without a lock by isSlave() and setSlave().
Must be set non-null to initialise the bean for use.
May be able to be set immediately from the context.
java.util.concurrent.locks.ReentrantLock _rebuildJIB_lock
java.util.concurrent.atomic.AtomicReference<V> storeLinked
java.util.concurrent.atomic.AtomicReference<V> storeUnlinked
DataSourceBean.EFH _efh
| Class org.hd.d.pg2k.webSvr.exhibit.ExhibitServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -1774514190468389217L
| Serialized Fields |
|---|
boolean initialised
| Class org.hd.d.pg2k.webSvr.exhibit.Expr extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -881322470744786046L
| Serialized Fields |
|---|
Expr upstream
| Class org.hd.d.pg2k.webSvr.exhibit.FilterBean extends AbstractFilterBean implements Serializable |
|---|
serialVersionUID: -7508449420464606209L
| Class org.hd.d.pg2k.webSvr.exhibit.FilterExpr extends Expr implements Serializable |
|---|
serialVersionUID: -7059115865126107312L
| Serialized Fields |
|---|
FilterIF filter
| Class org.hd.d.pg2k.webSvr.exhibit.SortExpr extends Expr implements Serializable |
|---|
serialVersionUID: -7947761366290611963L
| Serialized Fields |
|---|
SortIF sorter
| Class org.hd.d.pg2k.webSvr.exhibit.ThumbnailServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -2497705561191352995L
| Class org.hd.d.pg2k.webSvr.exhibit.TreeFilterBean extends AbstractFilterBean implements Serializable |
|---|
serialVersionUID: 8710974049842992459L
| Class org.hd.d.pg2k.webSvr.exhibit.TunnelServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -1276945887652232880L
| Serialized Fields |
|---|
WebUtils.ServletLoggerWithFallback logger
StatsLogger.StatsConfig statsIDTSV
SecurityProps _gSP_cache
ExhibitDataTunnelSource.HIRPCCache _RPC_cache
DuplicateIDChecker<K> messageIDs
We actually remember IDs for about twice the age implied by the skew so that if our clock is wrong by, or slips by, the maximum skew, we won't start admitting very old duplicate messages.
We should only add IDs if possible when we are already fairly sure of the source and when we have, for example, already checked for acceptable skew, to make any sort of DoS attack against us harder.
We should reject otherwise-acceptable messages that have an ID already present in this Map.
Thread-safe.
| Package org.hd.d.pg2k.webSvr.location |
|---|
| Class org.hd.d.pg2k.webSvr.location.LocThumbnailServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -8253998074827856644L
| Package org.hd.d.pg2k.webSvr.threeD |
|---|
| Class org.hd.d.pg2k.webSvr.threeD.DataServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -1276945667652232880L
| Serialized Fields |
|---|
WebUtils.ServletLoggerWithFallback logger
StatsLogger.StatsConfig statsIDDSV
| Class org.hd.d.pg2k.webSvr.threeD.ThreeDMain extends javax.swing.JFrame implements Serializable |
|---|
serialVersionUID: 8885229711913005041L
| Serialized Fields |
|---|
SimpleLoggerIF logger
ThreeDLogic logic
javax.swing.JLabel status
ThreeDMain.SISListener sisListener
com.sun.j3d.utils.universe.SimpleUniverse simpleUniverse
javax.media.j3d.Canvas3D canvas3D
javax.media.j3d.BranchGroup exhibitsBranchGroup
javax.swing.JSlider sliderX
javax.swing.JSlider sliderY
javax.swing.JSlider sliderZ
LightweightMetaDataFetchInterface.GalleryBasicMetaData currentSet
Marked volatile for thread-safe lock-free access.
Initially an empty set of exhibits.
| Package org.hd.d.pg2k.webSvr.upload |
|---|
| Class org.hd.d.pg2k.webSvr.upload.UploadServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: 4321077856636574117L
| Package org.hd.d.pg2k.webSvr.util |
|---|
| Class org.hd.d.pg2k.webSvr.util.Breadcrumbs extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -7990918038988551161L
| Serialized Fields |
|---|
java.util.List<E> crumbs
We expect that usually we will have no more than about four crumbs, and so default to that size.
| Class org.hd.d.pg2k.webSvr.util.Breadcrumbs.Breadcrumb extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 6755765230040158278L
| Serialized Fields |
|---|
java.lang.String linkText
java.lang.String link
| Class org.hd.d.pg2k.webSvr.util.JavadocBundleServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: 8287758876065863228L
| Class org.hd.d.pg2k.webSvr.util.LocaleBean extends LocaleBeanBase implements Serializable |
|---|
serialVersionUID: -6180248508840300659L
| Class org.hd.d.pg2k.webSvr.util.SessionVarBean extends java.lang.Object implements Serializable |
|---|
serialVersionUID: -200996533296387845L
| Serialized Fields |
|---|
int rndToken
boolean sessionVarLiteUI
java.util.Locale sessionVarLocale
Note that this field can only be set to Locales with a valid language code (ie two-letter lowercase) and an optional valid country code (ie two-letter uppercase) and no variant and that are found in our full supported-locales list. Note thae we do this validation since the Locale object does not (SHAME)!
We ignore attempts to set to an unsupported/unsafe/broken locale.
We rely on immutability of the Locale object here.
| Package org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth |
|---|
| Class org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth.AEParams extends java.lang.Object implements Serializable |
|---|
serialVersionUID: 3079086832160645496L
| Serialized Fields |
|---|
int zoomFactor
int eastOffset
This value is constrained to lie in the range [-BASE_2D_EARTH_MAP_WIDTH/2, +BASE_2D_EARTH_MAP_WIDTH/2].
The initial value is zero.
int northOffset
The offset of measured from the centre of the current image to the centre of the original underlying image, where either centre may potentially lie within a pixel or between pixels.
This value is constrained to lie in the range [-BASE_2D_EARTH_MAP_HEIGHT/2, +BASE_2D_EARTH_MAP_HEIGHT/2].
Note that is is the negative of the change in the y axis which in computer graphics usually has higher values lower down.
The initial value is zero.
| Class org.hd.d.pg2k.webSvr.virtualHosts.AlohaEarth.AlohaEarthMapServlet extends javax.servlet.http.HttpServlet implements Serializable |
|---|
serialVersionUID: -6552601635962150780L
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||