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 InvocationContext
create(int keyCount)
Creates a newInvocationContext
.
-
-
-
Method Detail
-
create
InvocationContext create(int keyCount)
Creates a newInvocationContext
.The
keyCount
specifies the number of keys affected that this context will handle. UseInvocationContextFactory.UNBOUNDED
to specify an unbound number of keys.Some implementation may ignore
keyCount
.- Parameters:
keyCount
- The number of keys affected.- Returns:
- An
InvocationContext
to use.
-
-