code: public void process(List<T> objects, boolean sync) {
          for (T message : objects) {
              // If this batcher has been shutdown, do not accept any more
              // messages
              if (isShutDown) {
                  return;
              }
              if (sync) {
                  processSync(message);
              } else {
                  process(message);
              }
          }
      }
docs: Processes the messages sent to the batcher. The messages are first queued
  and then will be processed by the
  {@link com.netflix.logging.messaging.MessageProcessor}
  
  @param message
  - The messages to be processed
  @param sync
  - if true, waits for the queue to make space, if false returns
  immediately after dropping the message