public class PListStoreImpl extends ServiceSupport implements BrokerServiceAware, 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() |
File |
getDirectory() |
int |
getIndexCacheSize() |
boolean |
getIndexEnablePageCaching() |
Object |
getIndexLock() |
int |
getIndexPageSize() |
int |
getIndexWriteBatchSize() |
Journal |
getJournal() |
int |
getJournalMaxFileLength() |
int |
getJournalMaxWriteBatchSize() |
PListImpl |
getPList(String name) |
protected void |
intialize() |
boolean |
isEnableIndexWriteAsync() |
boolean |
isFailIfDatabaseIsLocked() |
boolean |
isLazyInit() |
boolean |
removePList(String name) |
void |
run() |
void |
setBrokerService(BrokerService brokerService) |
void |
setCleanupInterval(long cleanupInterval) |
void |
setDirectory(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() |
String |
toString() |
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stoppublic PListStoreImpl()
public 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 File getDirectory()
getDirectory in interface PListStorepublic void setDirectory(File directory)
setDirectory in interface PListStorepublic long size()
size in interface PListStorepublic PListImpl getPList(String name) throws Exception
getPList in interface PListStoreExceptionpublic boolean removePList(String name) throws Exception
removePList in interface PListStoreExceptionprotected void doStart() throws Exception
doStart in class ServiceSupportExceptionprotected void doStop(ServiceStopper stopper) throws Exception
doStop in class ServiceSupportExceptionpublic 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)
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.