private void complete(IoFutureListener listener) {
        try {
            listener.operationComplete(this);
        } catch (Exception e) {
            LOGGER.error("notify listener {} error ", listener, e);
        }
    }
A lock used by the wait() method
lts-core/src/main/java/com/github/ltsopensource/nio/handler/IoFuture.java