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.TabletLocationgetRootTabletLocation(ClientContext context)voidinvalidateCache()Invalidate entire cachevoidinvalidateCache(Collection<KeyExtent> keySet)voidinvalidateCache(ClientContext context, String server)Invalidate all metadata entries that point to servervoidinvalidateCache(KeyExtent failedExtent)TabletLocator.TabletLocationlocateTablet(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:
binMutationsin classTabletLocator
-
binRanges
public List<Range> binRanges(ClientContext context, List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges)
- Specified by:
binRangesin classTabletLocator
-
invalidateCache
public void invalidateCache(KeyExtent failedExtent)
- Specified by:
invalidateCachein classTabletLocator
-
invalidateCache
public void invalidateCache(Collection<KeyExtent> keySet)
- Specified by:
invalidateCachein classTabletLocator
-
invalidateCache
public void invalidateCache(ClientContext context, String server)
Description copied from class:TabletLocatorInvalidate all metadata entries that point to server- Specified by:
invalidateCachein classTabletLocator
-
invalidateCache
public void invalidateCache()
Description copied from class:TabletLocatorInvalidate entire cache- Specified by:
invalidateCachein 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:
locateTabletin classTabletLocator
-
-