Exemplo n.º 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));
 }
Exemplo n.º 2
0
 protected static TransportSetup performanceTransportSetup(final Executor dispatchExecutor) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, performanceSessionFactory(dispatchExecutor));
 }
Exemplo n.º 3
0
 protected static TransportSetup invokeTransportSetup(
     final boolean invoke, final boolean createException, final Executor dispatchExecutor) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, invokeSessionFactory(invoke, createException, dispatchExecutor));
 }