docs: private E convertToRingbufferFormat(Object item) {
          return inMemoryFormat == OBJECT
                  ? (E) serializationService.toObject(item)
                  : (E) serializationService.toData(item);
      }