public class PersistentStoreConfig
extends java.lang.Object
Constructor and Description |
---|
PersistentStoreConfig() |
Modifier and Type | Method and Description |
---|---|
PersistentStoreConfig |
createInit() |
AbstractCacheBacking<?,?> |
getBacking() |
static PersistentStoreConfig |
getCurrent() |
void |
init() |
boolean |
isAlwaysSave() |
boolean |
isJdbc() |
boolean |
isSaveBackup() |
boolean |
isSaveTriplicate() |
void |
setAlwaysLoad(boolean isAlwaysLoad) |
void |
setAlwaysSave(boolean isAlwaysSave) |
void |
setBackup(boolean isBackup) |
void |
setDataSource(javax.sql.DataSource dataSource) |
void |
setEnableMmap(boolean isEnable) |
void |
setJndiName(java.lang.String name)
Sets the persistent store name.
|
void |
setMaxIdleTime(Period period) |
void |
setPath(Path path)
Deprecated.
|
void |
setSaveBackup(boolean isBackup) |
void |
setTableName(java.lang.String tableName) |
void |
setTriplicate(boolean isTriplicate) |
void |
setType(java.lang.String type)
Sets the persistent store type.
|
void |
setWaitForAcknowledge(boolean isWait) |
public static PersistentStoreConfig getCurrent()
public void setJndiName(java.lang.String name)
public void setType(java.lang.String type) throws ConfigException
ConfigException
public void setDataSource(javax.sql.DataSource dataSource)
@Deprecated public void setPath(Path path)
public void setTableName(java.lang.String tableName)
public void setAlwaysSave(boolean isAlwaysSave)
public boolean isAlwaysSave()
public void setAlwaysLoad(boolean isAlwaysLoad)
public void setBackup(boolean isBackup)
public void setSaveBackup(boolean isBackup)
public void setTriplicate(boolean isTriplicate)
public boolean isSaveTriplicate()
public boolean isSaveBackup()
public void setWaitForAcknowledge(boolean isWait)
public void setMaxIdleTime(Period period)
public void setEnableMmap(boolean isEnable)
public PersistentStoreConfig createInit()
public boolean isJdbc()
public AbstractCacheBacking<?,?> getBacking()
@PostConstruct public void init() throws java.lang.Exception
java.lang.Exception