|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A component of a space that manages slices. This interface shall provide methods for getting information about the current slices, for swapping slices in and out, and for getting the current versions of slices.
Assumes VStreamCellTexter.
XXX Unfinished; stuff for swapping slices in and out is missing, so far. However, as we're single-sliced so far, it hardly matters-- this is only for saving slice 0, so far. (The interface, though, is the one we'll need later to save multiple slices-- if I see things correctly. --Benja)
XXX cell manager interaction? (current model is, cells are in slices...)
Method Summary | |
SliceVersion |
export(java.lang.String sliceId)
Create a SliceVersion for a given slice. |
java.util.Map |
exportAll()
Create SliceVersion s for all slices. |
java.lang.String |
getSlice0()
Get the String id of the slice 0 (s.0) of this space. |
java.util.Set |
getSlices()
Get the String ids of the slices that are currently swapped in. |
void |
setSpace(Space s)
|
Method Detail |
public void setSpace(Space s)
public java.lang.String getSlice0()
public java.util.Set getSlices()
Set
of String
ids.
public SliceVersion export(java.lang.String sliceId)
SliceVersion
for a given slice.
Returns the current version of a slice, as a serializable object.
NOTE: The SliceVersion
returned may contain
unsaved spans; the SliceVersion
will not be
serializable if not all spans in it are saved first.
gzz.SliceVersion
public java.util.Map exportAll()
SliceVersion
s for all slices.
Returns a Map
from slice String
ids
to serializable SliceVersion
representation of the
respective slice.
NOTE: The SliceVersion
returned may contain
unsaved spans; the SliceVersion
will not be
serializable if not all spans in it are saved first.
gzz.SliceVersion
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |