private void appendMessage(Message message) {
        for (int retries = 10; retries > 0; --retries) {
            try {
                if (applicationMessageQueue.offer(message, 1, TimeUnit.SECONDS)) {
                    return;
                }
            } catch (final InterruptedException e) {
                Thread.currentThread().interrupt();
                LOG.warn("Dropped message by InterruptedException: " + message.getMessage());
                return;
            }
        }
        LOG.warn("Dropped message after retries: " + message.getMessage());
    }
Async Method telling NMClientAsync to launch specific container

@param container the container which should be launched
@return is launched success
core/src/main/java/net/qihoo/hbox/AM/ApplicationMaster.java