Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 @Override
 protected Timer exampleWithName(final OwnerFullName ownerFullName, final String name) {
   return Timer.exampleWithTimerId(ownerFullName, null, null, name);
 }
Exemplo n.º 3
0
 @Override
 protected Timer exampleWithOwner(final OwnerFullName ownerFullName) {
   return Timer.exampleWithOwner(ownerFullName);
 }
Exemplo n.º 4
0
 @Override
 public long countByWorkflowExecution(
     final OwnerFullName ownerFullName, final String domain, final String runId)
     throws SwfMetadataException {
   return countByExample(Timer.exampleWithWorkflowExecution(ownerFullName, domain, runId));
 }