public class TransientStoreConfig extends Object
XMap
descriptor for representing the Configuration of a TransientStore
Modifier and Type | Field and Description |
---|---|
protected int |
absoluteMaxSizeMB |
protected int |
firstLevelTTL |
protected Class<? extends TransientStoreProvider> |
implClass |
protected int |
minimalRetention |
protected String |
name |
protected String |
path |
protected Map<String,String> |
properties |
protected int |
secondLevelTTL |
protected TransientStoreProvider |
store |
protected int |
targetMaxSizeMB |
Constructor and Description |
---|
TransientStoreConfig() |
TransientStoreConfig(String name) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the cached store if any
|
int |
getAbsoluteMaxSizeMB() |
String |
getDataDir()
Returns the directory where blobs will be stored.
|
int |
getFirstLevelTTL() |
String |
getName() |
Map<String,String> |
getProperties()
Returns properties.
|
int |
getSecondLevelTTL() |
TransientStoreProvider |
getStore() |
int |
getTargetMaxSizeMB() |
void |
setAbsoluteMaxSizeMB(int absoluteMaxSizeMB) |
void |
setFirstLevelTTL(int firstLevelTTL) |
void |
setSecondLevelTTL(int secondLevelTTL) |
void |
setTargetMaxSizeMB(int targetMaxSizeMB) |
protected int targetMaxSizeMB
protected int absoluteMaxSizeMB
protected int firstLevelTTL
protected int secondLevelTTL
protected int minimalRetention
protected Class<? extends TransientStoreProvider> implClass
protected TransientStoreProvider store
protected Map<String,String> properties
public TransientStoreConfig()
public TransientStoreConfig(String name)
public int getTargetMaxSizeMB()
public void setTargetMaxSizeMB(int targetMaxSizeMB)
public int getAbsoluteMaxSizeMB()
public void setAbsoluteMaxSizeMB(int absoluteMaxSizeMB)
public int getFirstLevelTTL()
public void setFirstLevelTTL(int firstLevelTTL)
public int getSecondLevelTTL()
public void setSecondLevelTTL(int secondLevelTTL)
public TransientStoreProvider getStore()
public void flush()
public String getDataDir()
public Map<String,String> getProperties()
Copyright © 2018 Nuxeo. All rights reserved.