Package org.infinispan.cache.impl
Interface ContextBuilder
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ContextBuilder
An interface to buildInvocationContext.- Since:
- 11.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvocationContextcreate(int keyCount)Creates a newInvocationContext.
-
-
-
Method Detail
-
create
InvocationContext create(int keyCount)
Creates a newInvocationContext.The
keyCountspecifies the number of keys affected that this context will handle. UseInvocationContextFactory.UNBOUNDEDto specify an unbound number of keys.Some implementation may ignore
keyCount.- Parameters:
keyCount- The number of keys affected.- Returns:
- An
InvocationContextto use.
-
-