public final class Params extends Object
Internally, parameters are stored in an array which is indexed by
a parameter's Param.id()
All parameters have default values which are stored in a static
array field in Params class, which are used to as base collection
when adding or overriding parameters.
| Modifier and Type | Method and Description |
|---|---|
Params |
addAll(Param<?>... ps)
Adds all parameters and returns a new parameter collection.
|
boolean |
containsAll(Param<?>... ps)
Checks whether all the parameters passed in are already present in the
current parameters.
|
static Params |
create() |
static Params |
from(Param<?>... ps) |
<T> Param<T> |
get(int index)
Retrieve a param given its identifier.
|
static Params |
readObject(ObjectInput input) |
String |
toString() |
static void |
writeObject(ObjectOutput output,
Params params) |
public boolean containsAll(Param<?>... ps)
public Params addAll(Param<?>... ps)
public <T> Param<T> get(int index)
Param implementations will
only come from Infinispan itself.public static Params create()
public static void writeObject(ObjectOutput output, Params params) throws IOException
IOExceptionpublic static Params readObject(ObjectInput input) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.