public interface MultiFly extends FlyPrime
| Modifier and Type | Method and Description |
|---|---|
<T> java.util.Collection<T> |
readMany(T template,
long matchLimit)
The readMany method can be used to read but not remove a number of objects
from the space.
|
<T> java.util.Collection<T> |
takeMany(T template,
long matchLimit)
The takeMany method can be used to take (remove) a number of objects
from the space.
|
long |
writeMany(java.util.Collection entries,
long lease)
The writeMany method will write a collection of entry objects into the space
for amount of time given in the in the lease parameter.
|
long writeMany(java.util.Collection entries,
long lease)
entries - - The object to put in the Spacelease - - The time in milliseconds the objects will live in the Space<T> java.util.Collection<T> readMany(T template,
long matchLimit)
template - - Template to matchmatchLimit - - The upper limit of matched objects to return<T> java.util.Collection<T> takeMany(T template,
long matchLimit)
template - - Template to matchmatchLimit - - The upper limit of matched objects to return