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.
An interface to build
InvocationContext
.- Since:
- 11.0
- Author:
- Pedro Ruivo
-
Method Summary
-
Method Details
-
create
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.
-