public final synchronized OperationState getState() {
    return state;
  }
This is called on each subclass whenever an operation was cancelled.
src/main/java/net/spy/memcached/protocol/BaseOperationImpl.java