com.atlassian.scheduler.core.spi
Class MemoryRunDetailsDao
java.lang.Object
com.atlassian.scheduler.core.spi.MemoryRunDetailsDao
- All Implemented Interfaces:
- RunDetailsDao
@ThreadSafe
public class MemoryRunDetailsDao
- extends Object
- implements RunDetailsDao
An implementation of the RunDetailsDao that stores the results in memory.
- Since:
- v1.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryRunDetailsDao
public MemoryRunDetailsDao()
getLastRunForJob
@Nullable
public RunDetails getLastRunForJob(@Nonnull
JobId jobId)
- Specified by:
getLastRunForJob in interface RunDetailsDao
getLastSuccessfulRunForJob
@Nullable
public RunDetails getLastSuccessfulRunForJob(@Nonnull
JobId jobId)
- Specified by:
getLastSuccessfulRunForJob in interface RunDetailsDao
addRunDetails
public void addRunDetails(@Nonnull
JobId jobId,
@Nonnull
RunDetails runDetails)
- Specified by:
addRunDetails in interface RunDetailsDao
clear
public void clear()
Copyright © 2014 Atlassian. All Rights Reserved.