Module com.github.akurilov.commons
Interface SynchronousExpressionInput<T>
-
- Type Parameters:
T-
- All Superinterfaces:
java.lang.AutoCloseable,java.util.concurrent.Callable<T>,ExpressionInput<T>,Input<T>,java.util.function.Supplier<T>
public interface SynchronousExpressionInput<T> extends ExpressionInput<T>
A marker interface to determine if the given expression input is synchronous.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.github.akurilov.commons.io.el.ExpressionInput
ExpressionInput.Builder<T>
-
-
Field Summary
-
Fields inherited from interface com.github.akurilov.commons.io.el.ExpressionInput
ASYNC_MARKER, FACTORY, SELF_REF_ID, SYNC_MARKER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget()Get a new result of the synchronous expression evaluationintget(java.util.List<T> buffer, int limit)Bulk new values getlongskip(long count)Skip some items.
-
-
-
Method Detail
-
get
T get() throws javax.el.PropertyNotFoundException, javax.el.ELException
Get a new result of the synchronous expression evaluation
-
get
int get(java.util.List<T> buffer, int limit) throws javax.el.PropertyNotFoundException, javax.el.ELException
Bulk new values get- Specified by:
getin interfaceExpressionInput<T>- Specified by:
getin interfaceInput<T>- Parameters:
buffer- buffer for the valueslimit- max count of the values to put into the buffer- Returns:
- count of the items have been get and put into the buffer actually
- Throws:
javax.el.PropertyNotFoundExceptionjavax.el.ELException
-
skip
long skip(long count) throws javax.el.PropertyNotFoundException, javax.el.ELExceptionSkip some items.
-
-