public class JobSchedulerStore extends ServiceSupport
| Modifier and Type | Class and Description |
|---|---|
protected class |
JobSchedulerStore.MetaData |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOSED_STATE |
static int |
OPEN_STATE |
| Constructor and Description |
|---|
JobSchedulerStore() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStart() |
protected void |
doStop(ServiceStopper stopper) |
java.io.File |
getDirectory() |
JobScheduler |
getJobScheduler(java.lang.String name) |
int |
getJournalMaxFileLength() |
int |
getJournalMaxWriteBatchSize() |
boolean |
isEnableIndexWriteAsync() |
boolean |
isFailIfDatabaseIsLocked() |
boolean |
removeJobScheduler(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, stoppublic static final int CLOSED_STATE
public static final int OPEN_STATE
public JobSchedulerStore()
public java.io.File getDirectory()
public void setDirectory(java.io.File directory)
public long size()
public JobScheduler getJobScheduler(java.lang.String name) throws java.lang.Exception
java.lang.Exceptionpublic boolean removeJobScheduler(java.lang.String name) 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 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.ObjectCopyright © 2005-2012. All Rights Reserved.