@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final ProcessorTask that = (ProcessorTask) o;
        return id == that.id;
    }
Class used to represent processing a stream.
stroom-core-shared/src/main/java/stroom/processor/shared/ProcessorTask.java