public static class CassandraStateRepository.Builder extends Object
CassandraStateRepository| Modifier and Type | Method and Description |
|---|---|
CassandraStateRepository.Builder |
autoCreateColumnFamily(boolean autoCreate)
If set to
true, the column family will be automatically created if it is missing. |
CassandraStateRepository |
build()
Creates a
CassandraStateRepository from the current configuration |
CassandraStateRepository.Builder |
columnFamily(String columnFamilyName)
Sets the column family name to use for the Togglz feature state.
|
CassandraStateRepository.Builder |
mapSerializer(MapSerializer serializer)
The
MapSerializer for storing parameters. |
public CassandraStateRepository.Builder autoCreateColumnFamily(boolean autoCreate)
true, the column family will be automatically created if it is missing. The default is
true.autoCreate - true if the table should be created automaticallypublic CassandraStateRepository.Builder mapSerializer(MapSerializer serializer)
MapSerializer for storing parameters. By default the repository will use
DefaultMapSerializer.multiline().serializer - The serializer to usepublic CassandraStateRepository.Builder columnFamily(String columnFamilyName)
Togglz.columnFamilyName - column family name to usepublic CassandraStateRepository build()
CassandraStateRepository from the current configurationCopyright © 2021. All rights reserved.