P- type of parameter
public interface Param<P>
Param.FutureMode, examples would include local-only parameter, skip-cache-store parameter and others.
Param different from
MetaParam is that
values are never stored in the functional map. They merely act as ways to
tweak how operations are executed.
Param instances control how the internals work, only
Param implementations by Infinispan will be supported.
This interface is equivalent to Infinispan's Flag, but it's more powerful because it allows to pass a flag along with a value. Infinispan's Flag are enum based which means no values can be passed along with value.
Since each param is an independent entity, it's easy to create public versus private parameter distinction. When parameters are stored in enums, it's more difficult to make such distinction.
|Modifier and Type||Interface and Description|
When a method defines
When a persistence store is attached to a cache, by default all write operations, regardless of whether they are inserts, updates or removes, are persisted to the store.
|Modifier and Type||Method and Description|
A parameter's identifier.
A numeric id makes it flexible enough to be stored in collections that take up low resources, such as arrays.
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.