public class PListStoreImpl extends ServiceSupport implements BrokerServiceAware, java.lang.Runnable, PListStore, JournaledStore
| Modifier and Type | Class and Description |
|---|---|
protected class |
PListStoreImpl.MetaData |
| Constructor and Description |
|---|
PListStoreImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop(ServiceStopper stopper) |
long |
getCleanupInterval() |
java.io.File |
getDirectory() |
int |
getIndexCacheSize() |
boolean |
getIndexEnablePageCaching() |
java.lang.Object |
getIndexLock() |
int |
getIndexPageSize() |
int |
getIndexWriteBatchSize() |
Journal |
getJournal() |
int |
getJournalMaxFileLength() |
int |
getJournalMaxWriteBatchSize() |
PListImpl |
getPList(java.lang.String name) |
protected void |
intialize() |
boolean |
isEnableIndexWriteAsync() |
boolean |
isFailIfDatabaseIsLocked() |
boolean |
isLazyInit() |
boolean |
removePList(java.lang.String name) |
void |
run() |
void |
setBrokerService(BrokerService brokerService) |
void |
setCleanupInterval(long cleanupInterval) |
void |
setDirectory(java.io.File directory) |
void |
setEnableIndexWriteAsync(boolean enableIndexWriteAsync) |
void |
setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked) |
void |
setIndexCacheSize(int indexCacheSize) |
void |
setIndexEnablePageCaching(boolean indexEnablePageCaching) |
void |
setIndexPageSize(int indexPageSize) |
void |
setIndexWriteBatchSize(int indexWriteBatchSize) |
void |
setJournalMaxFileLength(int journalMaxFileLength) |
void |
setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize) |
void |
setLazyInit(boolean lazyInit) |
long |
size() |
java.lang.String |
toString() |
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic java.lang.Object getIndexLock()
public void setBrokerService(BrokerService brokerService)
setBrokerService in interface BrokerServiceAwarepublic int getIndexPageSize()
public int getIndexCacheSize()
public int getIndexWriteBatchSize()
public void setIndexPageSize(int indexPageSize)
public void setIndexCacheSize(int indexCacheSize)
public void setIndexWriteBatchSize(int indexWriteBatchSize)
public boolean getIndexEnablePageCaching()
public void setIndexEnablePageCaching(boolean indexEnablePageCaching)
public Journal getJournal()
public java.io.File getDirectory()
getDirectory in interface PListStorepublic void setDirectory(java.io.File directory)
setDirectory in interface PListStorepublic long size()
size in interface PListStorepublic PListImpl getPList(java.lang.String name) throws java.lang.Exception
getPList in interface PListStorejava.lang.Exceptionpublic boolean removePList(java.lang.String name)
throws java.lang.Exception
removePList in interface PListStorejava.lang.Exceptionprotected void intialize()
throws java.lang.Exception
java.lang.Exceptionprotected void doStart()
throws java.lang.Exception
doStart in class ServiceSupportjava.lang.Exceptionprotected void doStop(ServiceStopper stopper) throws java.lang.Exception
doStop in class ServiceSupportjava.lang.Exceptionpublic void run()
run in interface java.lang.Runnablepublic boolean isFailIfDatabaseIsLocked()
public void setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked)
public int getJournalMaxFileLength()
getJournalMaxFileLength in interface JournaledStorepublic void setJournalMaxFileLength(int journalMaxFileLength)
public int getJournalMaxWriteBatchSize()
public void setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize)
public boolean isEnableIndexWriteAsync()
public void setEnableIndexWriteAsync(boolean enableIndexWriteAsync)
public long getCleanupInterval()
public void setCleanupInterval(long cleanupInterval)
public boolean isLazyInit()
public void setLazyInit(boolean lazyInit)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.