|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.whirr.service.ClusterStateStore
org.apache.whirr.service.BlobClusterStateStore
public class BlobClusterStateStore
Constructor Summary | |
---|---|
BlobClusterStateStore(ClusterSpec spec)
|
Method Summary | |
---|---|
void |
destroy()
Destroys the provided cluster's state in storage. |
Cluster |
load()
Deserializes cluster state from storage. |
void |
save(Cluster cluster)
Saves cluster state to storage. |
Methods inherited from class org.apache.whirr.service.ClusterStateStore |
---|
serialize, unserialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobClusterStateStore(ClusterSpec spec)
Method Detail |
---|
public Cluster load() throws IOException
ClusterStateStore
load
in class ClusterStateStore
IOException
public void save(Cluster cluster) throws IOException
ClusterStateStore
save
in class ClusterStateStore
IOException
public void destroy() throws IOException
ClusterStateStore
destroy
in class ClusterStateStore
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |