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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.io.File getDirectory()
setDirectory
public void setDirectory(java.io.File directory)
size
public long size()
getJobScheduler
public JobScheduler getJobScheduler(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeJobScheduler
public boolean removeJobScheduler(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
doStart
protected void doStart()
throws java.lang.Exception
- Specified by:
doStart
in class ServiceSupport
- Throws:
java.lang.Exception
doStop
protected void doStop(ServiceStopper stopper)
throws java.lang.Exception
- Specified by:
doStop
in class ServiceSupport
- Throws:
java.lang.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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2005-2016. All Rights Reserved.