|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.webSvr.threeD.LightweightMetaDataFetchInterface.GalleryBasicMetaData
public static final class LightweightMetaDataFetchInterface.GalleryBasicMetaData
Immutable store of the most basic Gallery meta-data. This contains a hash over the Gallery contents that should change whenever the set of exhibits in the Gallery changes, and a (non-negative) count of exhibits in the Gallery.
This also contains an expected maximum validity period for this and related mata-data fetched through this interface, ie within what short of time it should be revalidated or discarded.
| Field Summary | |
|---|---|
static LightweightMetaDataFetchInterface.GalleryBasicMetaData |
EMPTY
Default/empty instance. |
int |
exhibitCount
Count of exhibits in the Gallery; non-negative. |
long |
exhibitSetHash
Hash over exhibit set. |
int |
metaDataMaxCacheLifeMs
Validity period (maximum cache time) in milliseconds; non-negative. |
| Constructor Summary | |
|---|---|
LightweightMetaDataFetchInterface.GalleryBasicMetaData(long hash,
int count,
int cacheMs)
Create an instance. |
|
| Method Summary | |
|---|---|
static LightweightMetaDataFetchInterface.GalleryBasicMetaData |
fromWireString(java.lang.String s)
Create an instance parsed from on-the-wire format; never null. |
java.lang.String |
toString()
Human-readable string format. |
java.lang.String |
toWireString()
Convert to String for suitable to use on the wire; pure printable ASCII. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final long exhibitSetHash
public final int exhibitCount
public final int metaDataMaxCacheLifeMs
public static final LightweightMetaDataFetchInterface.GalleryBasicMetaData EMPTY
| Constructor Detail |
|---|
public LightweightMetaDataFetchInterface.GalleryBasicMetaData(long hash,
int count,
int cacheMs)
| Method Detail |
|---|
public static LightweightMetaDataFetchInterface.GalleryBasicMetaData fromWireString(java.lang.String s)
throws java.lang.IllegalArgumentException
s - value as generated by toWireString(); never null
java.lang.IllegalArgumentException - if input String is invalidpublic java.lang.String toWireString()
public java.lang.String toString()
toString in class java.lang.Object
|
DHD Multimedia Gallery V1.57.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||