|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.accumulo.server.master.state.TabletStateStore
org.apache.accumulo.server.master.state.ZooTabletStateStore
public class ZooTabletStateStore
| Constructor Summary | |
|---|---|
ZooTabletStateStore()
|
|
ZooTabletStateStore(DistributedStore store)
|
|
| Method Summary | |
|---|---|
Iterator<TabletLocationState> |
iterator()
Scan the information about the tablets covered by this store |
String |
name()
Identifying name for this tablet state store. |
protected TServerInstance |
parse(byte[] current)
|
void |
setFutureLocations(Collection<Assignment> assignments)
Store the assigned locations in the data store. |
void |
setLocations(Collection<Assignment> assignments)
Tablet servers will update the data store with the location when they bring the tablet online |
void |
unassign(Collection<TabletLocationState> tablets)
Mark the tablets as having no known or future location. |
| Methods inherited from class org.apache.accumulo.server.master.state.TabletStateStore |
|---|
setLocation, unassign |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ZooTabletStateStore(DistributedStore store)
public ZooTabletStateStore()
throws DistributedStoreException
DistributedStoreException| Method Detail |
|---|
public Iterator<TabletLocationState> iterator()
TabletStateStore
iterator in interface Iterable<TabletLocationState>iterator in class TabletStateStoreprotected TServerInstance parse(byte[] current)
public void setFutureLocations(Collection<Assignment> assignments)
throws DistributedStoreException
TabletStateStore
setFutureLocations in class TabletStateStoreDistributedStoreException
public void setLocations(Collection<Assignment> assignments)
throws DistributedStoreException
TabletStateStore
setLocations in class TabletStateStoreDistributedStoreException
public void unassign(Collection<TabletLocationState> tablets)
throws DistributedStoreException
TabletStateStore
unassign in class TabletStateStoretablets - the tablets' current information
DistributedStoreExceptionpublic String name()
TabletStateStore
name in class TabletStateStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||