public class PListStore extends ServiceSupport
Modifier and Type | Class and Description |
---|---|
protected class |
PListStore.MetaData |
Constructor and Description |
---|
PListStore() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop(ServiceStopper stopper) |
java.io.File |
getDirectory() |
java.lang.Object |
getIndexLock() |
int |
getJournalMaxFileLength() |
int |
getJournalMaxWriteBatchSize() |
PList |
getPList(java.lang.String name) |
protected void |
intialize() |
boolean |
isEnableIndexWriteAsync() |
boolean |
isFailIfDatabaseIsLocked() |
boolean |
removePList(java.lang.String name) |
void |
setDirectory(java.io.File directory) |
void |
setEnableIndexWriteAsync(boolean enableIndexWriteAsync) |
void |
setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked) |
void |
setJournalMaxFileLength(int journalMaxFileLength) |
void |
setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize) |
long |
size() |
java.lang.String |
toString() |
addServiceListener, dispose, isStarted, isStopped, isStopping, removeServiceListener, start, stop
public PListStore()
public java.lang.Object getIndexLock()
public java.io.File getDirectory()
public void setDirectory(java.io.File directory)
public long size()
public PList getPList(java.lang.String name) throws java.lang.Exception
java.lang.Exception
public boolean removePList(java.lang.String name) throws java.lang.Exception
java.lang.Exception
protected void intialize() throws java.lang.Exception
java.lang.Exception
protected void doStart() throws java.lang.Exception
doStart
in class ServiceSupport
java.lang.Exception
protected void doStop(ServiceStopper stopper) throws java.lang.Exception
doStop
in class ServiceSupport
java.lang.Exception
public boolean isFailIfDatabaseIsLocked()
public void setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked)
public int getJournalMaxFileLength()
public void setJournalMaxFileLength(int journalMaxFileLength)
public int getJournalMaxWriteBatchSize()
public void setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize)
public boolean isEnableIndexWriteAsync()
public void setEnableIndexWriteAsync(boolean enableIndexWriteAsync)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2012. All Rights Reserved.