org.apache.accumulo.core.client.impl
public class RootTabletLocator extends TabletLocator
TabletLocator.TabletLocation, TabletLocator.TabletLocations, TabletLocator.TabletServerMutations
Modifier and Type | Method and Description |
---|---|
void |
binMutations(List<Mutation> mutations,
Map<String,TabletLocator.TabletServerMutations> binnedMutations,
List<Mutation> failures,
TCredentials credentials) |
List<Range> |
binRanges(List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges,
TCredentials credentials) |
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,
TCredentials credentials) |
getInstance
public void binMutations(List<Mutation> mutations, Map<String,TabletLocator.TabletServerMutations> binnedMutations, List<Mutation> failures, TCredentials credentials) 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, TCredentials credentials) 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, TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
locateTablet
in class TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.