public boolean isCompleted() {
    for (TapOperation op : ops) {
      if (!op.getState().equals(OperationState.COMPLETE)) {
        return false;
      }
    }
    return true;
  }
Check if all operations in the TapStream are completed.

@return true if all operations currently in the TapStream are completed
src/main/java/net/spy/memcached/tapmessage/TapStream.java