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.TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionpublic 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.TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionpublic 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.TabletLocatorAccumuloExceptionAccumuloSecurityExceptionTableNotFoundExceptionpublic void invalidateCache(KeyExtent failedExtent)
invalidateCache in class org.apache.accumulo.core.client.impl.TabletLocatorpublic void invalidateCache(Collection<KeyExtent> keySet)
invalidateCache in class org.apache.accumulo.core.client.impl.TabletLocatorpublic void invalidateCache()
org.apache.accumulo.core.client.impl.TabletLocatorinvalidateCache in class org.apache.accumulo.core.client.impl.TabletLocatorpublic void invalidateCache(String server)
org.apache.accumulo.core.client.impl.TabletLocatorinvalidateCache in class org.apache.accumulo.core.client.impl.TabletLocatorCopyright © 2011-2016 The Apache Software Foundation. All Rights Reserved.