Ejemplo n.º 1
0
 public SocketStore(String name, SocketDestination dest, SocketPool socketPool, boolean reroute) {
   this.name = Utils.notNull(name);
   this.pool = Utils.notNull(socketPool);
   this.destination = dest;
   this.requestFormat = requestFormatFactory.getRequestFormat(dest.getRequestFormatType());
   this.reroute = reroute;
 }
Ejemplo n.º 2
0
 public SocketStore(
     String storeName,
     long timeoutMs,
     SocketDestination dest,
     ClientRequestExecutorPool pool,
     RequestRoutingType requestRoutingType) {
   this.storeName = Utils.notNull(storeName);
   this.timeoutMs = timeoutMs;
   this.pool = Utils.notNull(pool);
   this.destination = dest;
   this.requestFormat = requestFormatFactory.getRequestFormat(dest.getRequestFormatType());
   this.requestRoutingType = requestRoutingType;
 }