Esempio 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));
 }
Esempio n. 2
0
 protected static TransportSetup performanceTransportSetup(final Executor dispatchExecutor) {
   return TransportSetup.ofContractSerializer(
       CONTRACT_SERIALIZER, performanceSessionFactory(dispatchExecutor));
 }
Esempio 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));
 }