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) |
File |
getDirectory() |
JobScheduler |
getJobScheduler(String name) |
int |
getJournalMaxFileLength() |
int |
getJournalMaxWriteBatchSize() |
boolean |
isEnableIndexWriteAsync() |
boolean |
isFailIfDatabaseIsLocked() |
boolean |
removeJobScheduler(String name) |
void |
setDirectory(File directory) |
void |
setEnableIndexWriteAsync(boolean enableIndexWriteAsync) |
void |
setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked) |
void |
setJournalMaxFileLength(int journalMaxFileLength) |
void |
setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize) |
long |
size() |
String |
toString() |
addServiceListener, dispose, isStarted, isStopped, isStopping, removeServiceListener, start, stop
public static final int CLOSED_STATE
public static final int OPEN_STATE
public JobSchedulerStore()
public File getDirectory()
public void setDirectory(File directory)
public long size()
public JobScheduler getJobScheduler(String name) throws Exception
Exception
public boolean removeJobScheduler(String name) throws Exception
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()
public void setJournalMaxFileLength(int journalMaxFileLength)
public int getJournalMaxWriteBatchSize()
public void setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize)
public boolean isEnableIndexWriteAsync()
public void setEnableIndexWriteAsync(boolean enableIndexWriteAsync)
Copyright © 2005–2015. All rights reserved.