@Deprecated public interface KeyIterator
Note: memcached 1.6.x will remove cachedump stats,so this feature will be invalid in memcached 1.6.x
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
已过时。
Close this iterator when you don't need it any more.It is not mandatory
to call this method, but you might want to invoke this method for maximum
performance.
|
InetSocketAddress |
getServerAddress()
已过时。
Get current iterator's memcached server address
|
boolean |
hasNext()
已过时。
Check if the iterator has more keys.
|
String |
next()
已过时。
Get next key,if iterator has reached the end,throw
ArrayIndexOutOfBoundsException
|
void |
setOpTimeout(long opTimeout)
已过时。
Set operation timeout,default is 1000 MILLISECONDS.
|
String next() throws MemcachedException, TimeoutException, InterruptedException
ArrayIndexOutOfBoundsException - ,MemcachedException,TimeoutException,InterruptedExceptionMemcachedExceptionTimeoutExceptionInterruptedExceptionboolean hasNext()
void close()
InetSocketAddress getServerAddress()
void setOpTimeout(long opTimeout)
opTimeout - Copyright © 2013. All Rights Reserved.