|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.infoservice.AbstractDatabaseEntry
infoservice.dynamic.TemporaryCascade
public class TemporaryCascade
This class represents a temporary mix-cascade. A cascade is considered temporary if it is not yet physically established. This happens in two szenarios: a) In the semi-dynamic model a last mix' operator selected some mixes for a cascade and the last mix posts the cascade-info to the InfoService. b) The InfoService build new fully dynamic cascades. A temporary cascade becomes a real cascade when the first mix posts a cascade-status for the first time.
| Field Summary | |
|---|---|
private MixCascade |
cascade
|
| Fields inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
XML_LAST_UPDATE |
| Constructor Summary | |
|---|---|
private |
TemporaryCascade(long a_expireTime)
|
|
TemporaryCascade(MixCascade a_cascade)
Creates a new temporary cascade using the given real MixCascade |
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns a unique ID for a database entry. |
long |
getLastUpdate()
Returns the time in milliseconds when this db entry was created from the origin instance. |
MixCascade |
getRealCascade()
Returns the proxy'd real MixCascade |
long |
getVersionNumber()
Returns version number which is used to determine the more recent infoservice entry, if two entries are compared (higher version number -> more recent entry). |
| Methods inherited from class anon.infoservice.AbstractDatabaseEntry |
|---|
getCreationTime, getExpireTime, isNewerThan, isUserDefined, resetCreationTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private MixCascade cascade
| Constructor Detail |
|---|
public TemporaryCascade(MixCascade a_cascade)
a_cascade - private TemporaryCascade(long a_expireTime)
| Method Detail |
|---|
public java.lang.String getId()
AbstractDatabaseEntry
getId in class AbstractDatabaseEntrypublic long getLastUpdate()
AbstractDatabaseEntry
getLastUpdate in class AbstractDatabaseEntrypublic long getVersionNumber()
AbstractDatabaseEntry
getVersionNumber in class AbstractDatabaseEntrypublic MixCascade getRealCascade()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||