public class RootTabletLocator extends TabletLocator
TabletLocator.TabletLocation, TabletLocator.TabletServerMutations
Modifier and Type | Method and Description |
---|---|
void |
binMutations(List<Mutation> mutations,
Map<String,TabletLocator.TabletServerMutations> binnedMutations,
List<Mutation> failures) |
List<Range> |
binRanges(List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges) |
void |
invalidateCache()
Invalidate entire cache
|
void |
invalidateCache(Collection<KeyExtent> keySet) |
void |
invalidateCache(KeyExtent failedExtent) |
void |
invalidateCache(String server)
Invalidate all metadata entries that point to server
|
TabletLocator.TabletLocation |
locateTablet(org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry) |
getInstance
public void binMutations(List<Mutation> mutations, Map<String,TabletLocator.TabletServerMutations> binnedMutations, List<Mutation> failures) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binMutations
in class TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
public List<Range> binRanges(List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binRanges
in class TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
public void invalidateCache(KeyExtent failedExtent)
invalidateCache
in class TabletLocator
public void invalidateCache(Collection<KeyExtent> keySet)
invalidateCache
in class TabletLocator
public void invalidateCache(String server)
TabletLocator
invalidateCache
in class TabletLocator
public void invalidateCache()
TabletLocator
invalidateCache
in class TabletLocator
public TabletLocator.TabletLocation locateTablet(org.apache.hadoop.io.Text row, boolean skipRow, boolean retry) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
locateTablet
in class TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.