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
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.
-