org.apache.activemq.broker.scheduler
Class JobSchedulerStore
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.broker.scheduler.JobSchedulerStore
- All Implemented Interfaces:
- Service
public class JobSchedulerStore
- extends ServiceSupport
CLOSED_STATE
public static final int CLOSED_STATE
- See Also:
- Constant Field Values
OPEN_STATE
public static final int OPEN_STATE
- See Also:
- Constant Field Values
JobSchedulerStore
public JobSchedulerStore()
getDirectory
public File getDirectory()
setDirectory
public void setDirectory(File directory)
size
public long size()
getJobScheduler
public JobScheduler getJobScheduler(String name)
throws Exception
- Throws:
Exception
removeJobScheduler
public boolean removeJobScheduler(String name)
throws Exception
- Throws:
Exception
doStart
protected void doStart()
throws Exception
- Specified by:
doStart in class ServiceSupport
- Throws:
Exception
doStop
protected void doStop(ServiceStopper stopper)
throws Exception
- Specified by:
doStop in class ServiceSupport
- Throws:
Exception
isFailIfDatabaseIsLocked
public boolean isFailIfDatabaseIsLocked()
setFailIfDatabaseIsLocked
public void setFailIfDatabaseIsLocked(boolean failIfDatabaseIsLocked)
getJournalMaxFileLength
public int getJournalMaxFileLength()
setJournalMaxFileLength
public void setJournalMaxFileLength(int journalMaxFileLength)
getJournalMaxWriteBatchSize
public int getJournalMaxWriteBatchSize()
setJournalMaxWriteBatchSize
public void setJournalMaxWriteBatchSize(int journalMaxWriteBatchSize)
isEnableIndexWriteAsync
public boolean isEnableIndexWriteAsync()
setEnableIndexWriteAsync
public void setEnableIndexWriteAsync(boolean enableIndexWriteAsync)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.