Example #1
0
 protected static TransportSetup performanceTransportSetup(
     final Executor dispatchExecutor,
     final @Nullable CountDownLatch latch,
     final int samples,
     final int bytes) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, performanceSessionFactory(dispatchExecutor, latch, samples, bytes));
 }
Example #2
0
 protected static TransportSetup performanceTransportSetup(final Executor dispatchExecutor) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, performanceSessionFactory(dispatchExecutor));
 }
Example #3
0
 protected static TransportSetup invokeTransportSetup(
     final boolean invoke, final boolean createException, final Executor dispatchExecutor) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, invokeSessionFactory(invoke, createException, dispatchExecutor));
 }