public abstract class TabletStateStore extends Object implements Iterable<TabletLocationState>
| Constructor and Description |
|---|
TabletStateStore() |
| Modifier and Type | Method and Description |
|---|---|
abstract ClosableIterator<TabletLocationState> |
iterator()
Scan the information about the tablets covered by this store
|
abstract String |
name()
Identifying name for this tablet state store.
|
abstract void |
setFutureLocations(Collection<Assignment> assignments)
Store the assigned locations in the data store.
|
static void |
setLocation(AccumuloServerContext context,
Assignment assignment) |
abstract void |
setLocations(Collection<Assignment> assignments)
Tablet servers will update the data store with the location when they bring the tablet online
|
static void |
unassign(AccumuloServerContext context,
TabletLocationState tls) |
abstract void |
unassign(Collection<TabletLocationState> tablets)
Mark the tablets as having no known or future location.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic abstract String name()
public abstract ClosableIterator<TabletLocationState> iterator()
iterator in interface Iterable<TabletLocationState>public abstract void setFutureLocations(Collection<Assignment> assignments) throws DistributedStoreException
DistributedStoreExceptionpublic abstract void setLocations(Collection<Assignment> assignments) throws DistributedStoreException
DistributedStoreExceptionpublic abstract void unassign(Collection<TabletLocationState> tablets) throws DistributedStoreException
tablets - the tablets' current informationDistributedStoreExceptionpublic static void unassign(AccumuloServerContext context, TabletLocationState tls) throws DistributedStoreException
DistributedStoreExceptionpublic static void setLocation(AccumuloServerContext context, Assignment assignment) throws DistributedStoreException
DistributedStoreExceptionCopyright © 2011–2017 The Apache Software Foundation. All rights reserved.