public class MockTabletLocator
extends org.apache.accumulo.core.client.impl.TabletLocator
org.apache.accumulo.core.client.impl.TabletLocator.TabletLocation, org.apache.accumulo.core.client.impl.TabletLocator.TabletLocations, org.apache.accumulo.core.client.impl.TabletLocator.TabletServerMutations
Constructor and Description |
---|
MockTabletLocator() |
Modifier and Type | Method and Description |
---|---|
void |
binMutations(List<Mutation> mutations,
Map<String,org.apache.accumulo.core.client.impl.TabletLocator.TabletServerMutations> binnedMutations,
List<Mutation> failures,
org.apache.accumulo.core.security.thrift.TCredentials credentials) |
List<Range> |
binRanges(List<Range> ranges,
Map<String,Map<KeyExtent,List<Range>>> binnedRanges,
org.apache.accumulo.core.security.thrift.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
|
org.apache.accumulo.core.client.impl.TabletLocator.TabletLocation |
locateTablet(org.apache.hadoop.io.Text row,
boolean skipRow,
boolean retry,
org.apache.accumulo.core.security.thrift.TCredentials credentials) |
public org.apache.accumulo.core.client.impl.TabletLocator.TabletLocation locateTablet(org.apache.hadoop.io.Text row, boolean skipRow, boolean retry, org.apache.accumulo.core.security.thrift.TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
locateTablet
in class org.apache.accumulo.core.client.impl.TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
public void binMutations(List<Mutation> mutations, Map<String,org.apache.accumulo.core.client.impl.TabletLocator.TabletServerMutations> binnedMutations, List<Mutation> failures, org.apache.accumulo.core.security.thrift.TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binMutations
in class org.apache.accumulo.core.client.impl.TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
public List<Range> binRanges(List<Range> ranges, Map<String,Map<KeyExtent,List<Range>>> binnedRanges, org.apache.accumulo.core.security.thrift.TCredentials credentials) throws AccumuloException, AccumuloSecurityException, TableNotFoundException
binRanges
in class org.apache.accumulo.core.client.impl.TabletLocator
AccumuloException
AccumuloSecurityException
TableNotFoundException
public void invalidateCache(KeyExtent failedExtent)
invalidateCache
in class org.apache.accumulo.core.client.impl.TabletLocator
public void invalidateCache(Collection<KeyExtent> keySet)
invalidateCache
in class org.apache.accumulo.core.client.impl.TabletLocator
public void invalidateCache()
org.apache.accumulo.core.client.impl.TabletLocator
invalidateCache
in class org.apache.accumulo.core.client.impl.TabletLocator
public void invalidateCache(String server)
org.apache.accumulo.core.client.impl.TabletLocator
invalidateCache
in class org.apache.accumulo.core.client.impl.TabletLocator
Copyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.