Package com.kheops.jmap.client.cache
Class CacheStateEvent
java.lang.Object
com.kheops.jmap.client.cache.CacheStateEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionCacheStateEvent(int state) CacheStateEvent(int state, int projectId, int layerId, float progress) -
Method Summary
Modifier and TypeMethodDescriptionintfloatintintgetState()voidsetLayerId(int layerId) voidsetProgress(float progess) voidsetProjectId(int projectId)
-
Field Details
-
STATE_STARTING
public static final int STATE_STARTING- See Also:
-
STATE_INITIALIZING
public static final int STATE_INITIALIZING- See Also:
-
STATE_STOPPING
public static final int STATE_STOPPING- See Also:
-
STATE_RUNNING
public static final int STATE_RUNNING- See Also:
-
STATE_STOPPED
public static final int STATE_STOPPED- See Also:
-
STATE_INDEX_STARTING
public static final int STATE_INDEX_STARTING- See Also:
-
STATE_INDEX_INITIALIZING
public static final int STATE_INDEX_INITIALIZING- See Also:
-
STATE_INDEX_STOPPING
public static final int STATE_INDEX_STOPPING- See Also:
-
STATE_INDEX_RUNNING
public static final int STATE_INDEX_RUNNING- See Also:
-
STATE_INDEX_STOPPED
public static final int STATE_INDEX_STOPPED- See Also:
-
-
Constructor Details
-
CacheStateEvent
public CacheStateEvent(int state) -
CacheStateEvent
public CacheStateEvent(int state, int projectId, int layerId, float progress)
-
-
Method Details
-
getState
public int getState() -
getProgress
public float getProgress() -
setProgress
public void setProgress(float progess) -
getProjectId
public int getProjectId() -
setProjectId
public void setProjectId(int projectId) -
getLayerId
public int getLayerId() -
setLayerId
public void setLayerId(int layerId)
-