public final class DataConfig extends Object
| Constructor and Description |
|---|
DataConfig(boolean compressed,
boolean compactEncoding,
CompressedSchema compressedSchema)
Construct a new DataConfig object with the specified settings.
|
| Modifier and Type | Method and Description |
|---|---|
EntryEncodeConfig |
getEntryEncodeConfig()
Get the EntryEncodeConfig object in use by this configuration.
|
boolean |
isCompactEncoding()
Determine whether entries should be encoded with the compact form before
writing to the database.
|
boolean |
isCompressed()
Determine whether data should be compressed before writing to the database.
|
void |
setCompactEncoding(boolean compactEncoding,
CompressedSchema compressedSchema)
Configure whether data should be encoded with the compact form before
writing to the database.
|
void |
setCompressed(boolean compressed)
Configure whether data should be compressed before writing to the database.
|
String |
toString()
Get a string representation of this object.
|
public DataConfig(boolean compressed, boolean compactEncoding, CompressedSchema compressedSchema)
compressed - true if data should be compressed, false if not.compactEncoding - true if data should be encoded in compact form,
false if not.compressedSchema - the compressed schema manager to use. It must not
be null if compactEncoding is true.public boolean isCompressed()
public boolean isCompactEncoding()
public void setCompressed(boolean compressed)
compressed - true if data should be compressed, false if not.public void setCompactEncoding(boolean compactEncoding, CompressedSchema compressedSchema)
compactEncoding - true if data should be encoded in compact form,
false if not.compressedSchema - The compressed schema manager to use. It must not
be null if compactEncoding is true.public EntryEncodeConfig getEntryEncodeConfig()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.