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 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() |
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
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()
Copyright © 2018 Nuxeo. All rights reserved.