code: public boolean tryPublishEvent(EventTranslator<E> translator) {
          try {
              final long sequence = sequencer.tryNext();
              translateAndPublish(translator, sequence);
              return true;
          } catch (InsufficientCapacityException e) {
              return false;
          }
      }
docs: Attempts to publish an event to the ring buffer. It handles claiming the next sequence, getting the current (uninitialised) event from the ring buffer
  and publishing the claimed sequence after translation. Will return false if specified capacity was not available.
  
  @param translator The user specified translation for the event
  @return true if the value was published, false if there was insufficient capacity.