code: private <T> CompletableFuture<T> invokeExtension(String streamSegmentName, Function<ContainerTableExtension, CompletableFuture<T>> toInvoke,
                                                       String methodName, Object... logArgs) {
          return super.invoke(streamSegmentName,
                  segmentContainer -> toInvoke.apply(segmentContainer.getExtension(ContainerTableExtension.class)),
                  methodName, logArgs);
      }
docs: region Helpers