com.caucho.server.distcache
Class PersistentStoreConfig

java.lang.Object
  extended by com.caucho.server.distcache.PersistentStoreConfig

public class PersistentStoreConfig
extends java.lang.Object

Configuration distributed stores.


Constructor Summary
PersistentStoreConfig()
           
 
Method Summary
 PersistentStoreConfig createInit()
           
 void init()
           
 boolean isAlwaysSave()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentStoreConfig

public PersistentStoreConfig()
Method Detail

setJndiName

public void setJndiName(java.lang.String name)
Sets the persistent store name.


setType

public void setType(java.lang.String type)
             throws ConfigException
Sets the persistent store type.

Throws:
ConfigException

setDataSource

public void setDataSource(javax.sql.DataSource dataSource)

setPath

@Deprecated
public void setPath(Path path)
Deprecated. 


setTableName

public void setTableName(java.lang.String tableName)

setAlwaysSave

public void setAlwaysSave(boolean isAlwaysSave)

isAlwaysSave

public boolean isAlwaysSave()

setAlwaysLoad

public void setAlwaysLoad(boolean isAlwaysLoad)

setBackup

public void setBackup(boolean isBackup)

setSaveBackup

public void setSaveBackup(boolean isBackup)

setTriplicate

public void setTriplicate(boolean isTriplicate)

isSaveTriplicate

public boolean isSaveTriplicate()

isSaveBackup

public boolean isSaveBackup()

setWaitForAcknowledge

public void setWaitForAcknowledge(boolean isWait)

setMaxIdleTime

public void setMaxIdleTime(Period period)

setEnableMmap

public void setEnableMmap(boolean isEnable)

createInit

public PersistentStoreConfig createInit()

init

@PostConstruct
public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception