public class PListStoreImpl extends ServiceSupport implements BrokerServiceAware, Runnable, PListStore, JournaledStore
Modifier and Type | Class and Description |
---|---|
protected class |
PListStoreImpl.MetaData |
Constructor and Description |
---|
PListStoreImpl() |
addServiceListener, dispose, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
public PListStoreImpl()
public Object getIndexLock()
public void setBrokerService(BrokerService brokerService)
setBrokerService
in interface BrokerServiceAware
public 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 PListStore
public void setDirectory(File directory)
setDirectory
in interface PListStore
public long size()
size
in interface PListStore
public PListImpl getPList(String name) throws Exception
getPList
in interface PListStore
Exception
public boolean removePList(String name) throws Exception
removePList
in interface PListStore
Exception
protected void doStart() throws Exception
doStart
in class ServiceSupport
Exception
protected void doStop(ServiceStopper stopper) throws Exception
doStop
in class ServiceSupport
Exception
public boolean isFailIfDatabaseIsLocked()
public void setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked)
public int getJournalMaxFileLength()
getJournalMaxFileLength
in interface JournaledStore
public 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–2024 The Apache Software Foundation. All rights reserved.