org.apache.whirr.state
Class BlobClusterStateStore
java.lang.Object
org.apache.whirr.state.ClusterStateStore
org.apache.whirr.state.BlobClusterStateStore
public class BlobClusterStateStore
- extends ClusterStateStore
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlobClusterStateStore
public BlobClusterStateStore(ClusterSpec spec)
load
public Cluster load()
throws IOException
- Description copied from class:
ClusterStateStore
- Deserializes cluster state from storage.
- Specified by:
load
in class ClusterStateStore
- Returns:
-
- Throws:
IOException
save
public void save(Cluster cluster)
throws IOException
- Description copied from class:
ClusterStateStore
- Saves cluster state to storage.
- Specified by:
save
in class ClusterStateStore
- Throws:
IOException
destroy
public void destroy()
throws IOException
- Description copied from class:
ClusterStateStore
- Destroys the provided cluster's state in storage.
- Specified by:
destroy
in class ClusterStateStore
- Throws:
IOException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.