|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.aggregation.Moraine
This Past takes 2 pasts, an old Past and a new Past. It treats the old Past as a backing store for the new Past. Pretty much it's only going to work with glacier, and maybe aggregation A Moraine is the hill of rubble (aggregate as it were) left behind at the edges of a glacier or at the end of a retreating glacier
| Field Summary | |
protected Logger |
logger
DESCRIBE THE FIELD |
protected GCPast |
newPast
DESCRIBE THE FIELD |
protected GCPast |
oldPast
DESCRIBE THE FIELD |
protected VersioningPast |
vNewPast
DESCRIBE THE FIELD |
protected VersioningPast |
vOldPast
DESCRIBE THE FIELD |
| Fields inherited from interface rice.p2p.past.gc.GCPast |
INFINITY_EXPIRATION |
| Constructor Summary | |
Moraine(GCPast newPast,
GCPast oldPast)
Constructor for Moraine. |
|
| Method Summary | |
void |
fetch(PastContentHandle handle,
Continuation command)
DESCRIBE THE METHOD |
Environment |
getEnvironment()
Gets the Environment attribute of the Moraine object |
java.lang.String |
getInstance()
Gets the Instance attribute of the Moraine object |
NodeHandle |
getLocalNodeHandle()
Gets the LocalNodeHandle attribute of the Moraine object |
int |
getReplicationFactor()
Gets the ReplicationFactor attribute of the Moraine object |
void |
insert(PastContent obj,
Continuation command)
DESCRIBE THE METHOD |
void |
insert(PastContent obj,
long expiration,
Continuation command)
DESCRIBE THE METHOD |
void |
lookup(Id id,
boolean cache,
Continuation command)
DESCRIBE THE METHOD |
void |
lookup(Id id,
Continuation command)
DESCRIBE THE METHOD |
void |
lookup(Id id,
long version,
Continuation command)
DESCRIBE THE METHOD |
void |
lookupHandle(Id id,
NodeHandle handle,
Continuation command)
DESCRIBE THE METHOD |
void |
lookupHandles(Id id,
int max,
Continuation command)
DESCRIBE THE METHOD |
void |
lookupHandles(Id id,
long version,
int num,
Continuation command)
DESCRIBE THE METHOD |
void |
refresh(Id[] ids,
long[] expirations,
Continuation command)
DESCRIBE THE METHOD |
void |
refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
DESCRIBE THE METHOD |
void |
refresh(Id[] ids,
long expiration,
Continuation command)
DESCRIBE THE METHOD |
void |
setContentDeserializer(PastContentDeserializer deserializer)
Sets the ContentDeserializer attribute of the Moraine object |
void |
setContentHandleDeserializer(PastContentHandleDeserializer deserializer)
Sets the ContentHandleDeserializer attribute of the Moraine object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GCPast newPast
protected GCPast oldPast
protected VersioningPast vNewPast
protected VersioningPast vOldPast
protected Logger logger
| Constructor Detail |
public Moraine(GCPast newPast,
GCPast oldPast)
newPast - DESCRIBE THE PARAMETERoldPast - DESCRIBE THE PARAMETER| Method Detail |
public NodeHandle getLocalNodeHandle()
getLocalNodeHandle in interface Pastpublic int getReplicationFactor()
getReplicationFactor in interface Pastpublic Environment getEnvironment()
getEnvironment in interface Pastpublic java.lang.String getInstance()
getInstance in interface Pastpublic void setContentDeserializer(PastContentDeserializer deserializer)
setContentDeserializer in interface Pastdeserializer - The new ContentDeserializer valuepublic void setContentHandleDeserializer(PastContentHandleDeserializer deserializer)
setContentHandleDeserializer in interface Pastdeserializer - The new ContentHandleDeserializer value
public void insert(PastContent obj,
Continuation command)
insert in interface GCPastobj - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookup(Id id,
Continuation command)
lookup in interface Pastid - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookup(Id id,
boolean cache,
Continuation command)
lookup in interface Pastid - DESCRIBE THE PARAMETERcache - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookupHandles(Id id,
int max,
Continuation command)
lookupHandles in interface Pastid - DESCRIBE THE PARAMETERmax - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookupHandle(Id id,
NodeHandle handle,
Continuation command)
lookupHandle in interface Pastid - DESCRIBE THE PARAMETERhandle - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void fetch(PastContentHandle handle,
Continuation command)
fetch in interface Pasthandle - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void insert(PastContent obj,
long expiration,
Continuation command)
insert in interface GCPastobj - DESCRIBE THE PARAMETERexpiration - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void refresh(Id[] ids,
long[] expirations,
Continuation command)
refresh in interface GCPastids - DESCRIBE THE PARAMETERexpirations - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void refresh(Id[] ids,
long expiration,
Continuation command)
refresh in interface GCPastids - DESCRIBE THE PARAMETERexpiration - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookup(Id id,
long version,
Continuation command)
lookup in interface VersioningPastid - DESCRIBE THE PARAMETERversion - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void lookupHandles(Id id,
long version,
int num,
Continuation command)
lookupHandles in interface VersioningPastid - DESCRIBE THE PARAMETERversion - DESCRIBE THE PARAMETERnum - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
public void refresh(Id[] ids,
long[] versions,
long[] expirations,
Continuation command)
refresh in interface VersioningPastids - DESCRIBE THE PARAMETERversions - DESCRIBE THE PARAMETERexpirations - DESCRIBE THE PARAMETERcommand - DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||