public <T> List<T> listFired(final Function<? super Timer, T> transform) throws SwfMetadataException { return listByExample( Timer.exampleWithOwner(null), Predicates.alwaysTrue(), Restrictions.lt("timeoutTimestamp", new Date()), Collections.<String, String>emptyMap(), transform); }
@Override protected Timer exampleWithName(final OwnerFullName ownerFullName, final String name) { return Timer.exampleWithTimerId(ownerFullName, null, null, name); }
@Override protected Timer exampleWithOwner(final OwnerFullName ownerFullName) { return Timer.exampleWithOwner(ownerFullName); }
@Override public long countByWorkflowExecution( final OwnerFullName ownerFullName, final String domain, final String runId) throws SwfMetadataException { return countByExample(Timer.exampleWithWorkflowExecution(ownerFullName, domain, runId)); }