@Override public WaveletOperation peek() { if (state == State.CLOSED) { // TODO(anorth): throw an exception here after Wally doesn't do this. logger.error().log("Cannot peek at closed operation channel: " + this); return null; } else { return cc.peek(); } }