Class RootTabletLocator
- java.lang.Object
-
- org.apache.accumulo.core.clientImpl.TabletLocator
-
- org.apache.accumulo.core.clientImpl.RootTabletLocator
-
public class RootTabletLocator extends TabletLocator
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.clientImpl.TabletLocator
TabletLocator.TabletLocation, TabletLocator.TabletLocations, TabletLocator.TabletServerMutations<T extends Mutation>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Mutation>
voidbinMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
List<Range>
binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
protected TabletLocator.TabletLocation
getRootTabletLocation(ClientContext context)
void
invalidateCache()
Invalidate entire cachevoid
invalidateCache(Collection<KeyExtent> keySet)
void
invalidateCache(ClientContext context, String server)
Invalidate all metadata entries that point to servervoid
invalidateCache(KeyExtent failedExtent)
TabletLocator.TabletLocation
locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
-
Methods inherited from class org.apache.accumulo.core.clientImpl.TabletLocator
clearLocators, getLocator
-
-
-
-
Method Detail
-
binMutations
public <T extends Mutation> void binMutations(ClientContext context, List<T> mutations, Map<String,TabletLocator.TabletServerMutations<T>> binnedMutations, List<T> failures)
- Specified by:
binMutations
in classTabletLocator
-
binRanges
public List<Range> binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
- Specified by:
binRanges
in classTabletLocator
-
invalidateCache
public void invalidateCache(KeyExtent failedExtent)
- Specified by:
invalidateCache
in classTabletLocator
-
invalidateCache
public void invalidateCache(Collection<KeyExtent> keySet)
- Specified by:
invalidateCache
in classTabletLocator
-
invalidateCache
public void invalidateCache(ClientContext context, String server)
Description copied from class:TabletLocator
Invalidate all metadata entries that point to server- Specified by:
invalidateCache
in classTabletLocator
-
invalidateCache
public void invalidateCache()
Description copied from class:TabletLocator
Invalidate entire cache- Specified by:
invalidateCache
in classTabletLocator
-
getRootTabletLocation
protected TabletLocator.TabletLocation getRootTabletLocation(ClientContext context)
-
locateTablet
public TabletLocator.TabletLocation locateTablet(ClientContext context, org.apache.hadoop.io.Text row, boolean skipRow, boolean retry)
- Specified by:
locateTablet
in classTabletLocator
-
-