in uima-ducc-transport/src/main/java/org/apache/uima/ducc/transport/event/common/DuccSchedulingInfo.java [514:587]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
DuccSchedulingInfo other = (DuccSchedulingInfo) obj;
if (instancesCount == null) {
if (other.instancesCount != null)
return false;
} else if (!instancesCount.equals(other.instancesCount))
return false;
if (machinesCount == null) {
if (other.machinesCount != null)
return false;
} else if (!machinesCount.equals(other.machinesCount))
return false;
if (schedulingClass == null) {
if (other.schedulingClass != null)
return false;
} else if (!schedulingClass.equals(other.schedulingClass))
return false;
if (schedulingPriority == null) {
if (other.schedulingPriority != null)
return false;
} else if (!schedulingPriority.equals(other.schedulingPriority))
return false;
if (shareMemorySize == null) {
if (other.shareMemorySize != null)
return false;
} else if (!shareMemorySize.equals(other.shareMemorySize))
return false;
if (memoryUnits != other.memoryUnits)
return false;
if (threadsPerProcess == null) {
if (other.threadsPerProcess != null)
return false;
} else if (!threadsPerProcess.equals(other.threadsPerProcess))
return false;
if (workItemsCompleted == null) {
if (other.workItemsCompleted != null)
return false;
} else if (!workItemsCompleted.equals(other.workItemsCompleted))
return false;
if (workItemsDispatched == null) {
if (other.workItemsDispatched != null)
return false;
} else if (!workItemsDispatched.equals(other.workItemsDispatched))
return false;
if (workItemsError == null) {
if (other.workItemsError != null)
return false;
} else if (!workItemsError.equals(other.workItemsError))
return false;
if (workItemsPending == null) {
if (other.workItemsPending != null)
return false;
} else if (!workItemsPending.equals(other.workItemsPending))
return false;
if (workItemsRetry == null) {
if (other.workItemsRetry != null)
return false;
} else if (!workItemsRetry.equals(other.workItemsRetry))
return false;
if (workItemsTotal == null) {
if (other.workItemsTotal != null)
return false;
} else if (!workItemsTotal.equals(other.workItemsTotal))
return false;
if (mostRecentWorkItemStart != other.mostRecentWorkItemStart)
return false;
return true;
}