org.apache.accumulo.test.functional
public class SlowIterator extends WrappingIterator
Constructor and Description |
---|
SlowIterator() |
Modifier and Type | Method and Description |
---|---|
SortedKeyValueIterator<Key,Value> |
deepCopy(IteratorEnvironment env) |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env) |
void |
next() |
void |
seek(Range range,
Collection<ByteSequence> columnFamilies,
boolean inclusive) |
static void |
setSeekSleepTime(IteratorSetting is,
long t) |
static void |
setSleepTime(IteratorSetting is,
long millis) |
getSource, getTopKey, getTopValue, hasTop, setSource
public static void setSleepTime(IteratorSetting is, long millis)
public static void setSeekSleepTime(IteratorSetting is, long t)
public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
deepCopy
in interface SortedKeyValueIterator<Key,Value>
deepCopy
in class WrappingIterator
public void next() throws IOException
next
in interface SortedKeyValueIterator<Key,Value>
next
in class WrappingIterator
IOException
public void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException
seek
in interface SortedKeyValueIterator<Key,Value>
seek
in class WrappingIterator
IOException
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init
in interface SortedKeyValueIterator<Key,Value>
init
in class WrappingIterator
IOException
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.