|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.mediaserver.PointerSet
A set of pointer changes with a particular id.
PointerRecord
Field Summary | |
static boolean |
dbg
|
java.lang.String |
id
|
Method Summary | |
java.util.Set |
getActive()
Get the active Mediaserver.Id s of the targets this
pointer points to. |
java.util.Map |
getActiveMap()
|
static java.util.Map |
getPointerSets(Mediaserver ms)
Get a map from String to PointerSet. |
Mediaserver.Id |
getSingleActive()
|
static PointerSet |
read(java.lang.String id,
java.io.InputStream i)
|
void |
union(PointerSet other)
|
void |
write(java.io.OutputStream o)
Write this PointerSet to an OutputStream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean dbg
public java.lang.String id
Method Detail |
public void union(PointerSet other)
public java.util.Map getActiveMap()
public java.util.Set getActive()
Mediaserver.Id
s of the targets this
pointer points to.
These are the targets of this pointer that have not been obsoleted; in other words, "where this pointer currently points to."
Currently, we expect there to be only one of these except during
repository synchronization; this single one can be get through
getSingleActive()
, which throws an exception if there
is more than one active target.
public Mediaserver.Id getSingleActive()
public static java.util.Map getPointerSets(Mediaserver ms) throws java.io.IOException
java.io.IOException
public void write(java.io.OutputStream o) throws java.io.IOException
java.io.IOException
public static PointerSet read(java.lang.String id, java.io.InputStream i) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |