org.modeshape.jcr
Interface InfinispanUtil.Sequence<T>
- Type Parameters:
T
- the key type
- Enclosing class:
- InfinispanUtil
public static interface InfinispanUtil.Sequence<T>
A sequence of values. This abstracts how the values are obtained.
Method Summary |
T |
next()
Get the next values. |
next
T next()
throws ExecutionException,
CancellationException,
InterruptedException
- Get the next values.
- Returns:
- the next value, or null if there are no more values.
- Throws:
ExecutionException
- if there is an exception obtaining the next value
CancellationException
- if the operation finding the values has been cancelled
InterruptedException
- if the operation finding the values has been interrupted
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.