public class TaskLock extends Object
Constructor and Description |
---|
TaskLock(TaskLockType type,
String groupId,
String dataSource,
org.joda.time.Interval interval,
String version,
int priority) |
TaskLock(TaskLockType type,
String groupId,
String dataSource,
org.joda.time.Interval interval,
String version,
int priority,
boolean revoked) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDataSource() |
String |
getGroupId() |
org.joda.time.Interval |
getInterval() |
int |
getPriority() |
TaskLockType |
getType() |
String |
getVersion() |
int |
hashCode() |
boolean |
isRevoked() |
TaskLock |
revokedCopy() |
String |
toString() |
public TaskLock(@Nullable TaskLockType type, String groupId, String dataSource, org.joda.time.Interval interval, String version, int priority, boolean revoked)
public TaskLock(TaskLockType type, String groupId, String dataSource, org.joda.time.Interval interval, String version, int priority)
public TaskLock revokedCopy()
public TaskLockType getType()
public String getGroupId()
public String getDataSource()
public org.joda.time.Interval getInterval()
public String getVersion()
public int getPriority()
public boolean isRevoked()
Copyright © 2011–2018. All rights reserved.