Class HouskeepingExecutionAccessorImpl
- java.lang.Object
-
- step.core.accessors.AbstractAccessor
-
- step.core.accessors.AbstractCRUDAccessor<step.core.execution.model.Execution>
-
- step.core.execution.model.ExecutionAccessorImpl
-
- step.plugins.housekeeping.accessors.HouskeepingExecutionAccessorImpl
-
- All Implemented Interfaces:
step.core.accessors.Accessor<step.core.execution.model.Execution>
,step.core.accessors.CRUDAccessor<step.core.execution.model.Execution>
,step.core.execution.model.ExecutionAccessor
,HousekeepingExecutionAccessor
public class HouskeepingExecutionAccessorImpl extends step.core.execution.model.ExecutionAccessorImpl implements HousekeepingExecutionAccessor
-
-
Constructor Summary
Constructors Constructor Description HouskeepingExecutionAccessorImpl(step.core.accessors.MongoClientSession clientSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<step.core.execution.model.Execution>
findLastExpiredExecution(long date, int limit, boolean excludeRetained)
-
Methods inherited from class step.core.execution.model.ExecutionAccessorImpl
createIndexesIfNeeded, findByCritera, findByCritera, findLastEnded, findLastStarted, getActiveTests, getLastExecutionsBySchedulerTaskID, getTestExecutionsByArtefactURL
-
Methods inherited from class step.core.accessors.AbstractCRUDAccessor
findByAttributes, findByAttributes, findManyByAttributes, findManyByAttributes, get, get, getAll, getRange, queryByAttributes, queryByAttributes, remove, save, save
-
Methods inherited from class step.core.accessors.AbstractAccessor
createOrUpdateCompoundIndex, createOrUpdateIndex, createOrUpdateTTLIndex, getJongoCollection, getMongoCollection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
findLastExpiredExecution
public Iterator<step.core.execution.model.Execution> findLastExpiredExecution(long date, int limit, boolean excludeRetained)
- Specified by:
findLastExpiredExecution
in interfaceHousekeepingExecutionAccessor
-
-