Examples of call()


Examples of EDU.oswego.cs.dl.util.concurrent.Callable.call()

     
      Callable timedCallable = new TimedCallable(callable, CLOSE_TIMEOUT);
     
      try
      {
        timedCallable.call();
      }
      catch (Throwable t)
      {
        //Ignore - the server might have already closed - so this is ok
      }
View Full Code Here

Examples of EDU.oswego.cs.dl.util.concurrent.TimedCallable.call()

     
      Callable timedCallable = new TimedCallable(callable, CLOSE_TIMEOUT);
     
      try
      {
        timedCallable.call();
      }
      catch (Throwable t)
      {
        //Ignore - the server might have already closed - so this is ok
      }
View Full Code Here

Examples of abstrasy.interpreter.ContextualCall.call()

                case Node.TYPE_NAMESPACE:
                    {
                        if (self.isNamespace()) {
                            ContextualCall ccall = ContextualCall.createContextualCall(self, symbol);
                            if (ccall != null && argvx != null)
                                return ccall.call(argvx, index);

                            else
                                throw new InterpreterException(StdErrors.extend(StdErrors.Symbol_not_defined, symbol));

                        }
View Full Code Here

Examples of com.Acrobot.Breeze.Utils.MojangAPI.NameFetcher.call()

     */
    public static String getName(UUID uuid) {
        NameFetcher fetcher = new NameFetcher(uuid);

        try {
            Map<UUID, String> uuidMap = fetcher.call();

            return uuidMap.get(uuid);
        } catch (Exception e) {
            return null;
        }
View Full Code Here

Examples of com.Acrobot.Breeze.Utils.MojangAPI.UUIDFetcher.call()

     */
    public static UUID getUUID(String username) {
        UUIDFetcher fetcher = new UUIDFetcher(username);

        try {
            Map<String, UUID> uuidMap = fetcher.call();

            if (uuidMap.size() < 1) {
                return INVALID_UUID;
            }

View Full Code Here

Examples of com.alibaba.otter.shared.communication.core.impl.connection.CommunicationConnection.call()

        int count = 0;
        Throwable ex = null;
        while (count++ < retry) {
            try {
                connection = factory.createConnection(params);
                return connection.call(event);
            } catch (Exception e) {
                logger.error(String.format("call[%s] , retry[%s]", addr, count), e);
                try {
                    Thread.sleep(count * retryDelay);
                } catch (InterruptedException e1) {
View Full Code Here

Examples of com.alibaba.rocketmq.research.rpc.DefaultRPCClient.call()

        rpcClient.start();

        for (long i = 0;; i++) {
            try {
                String reqstr = "nice" + i;
                ByteBuffer repdata = rpcClient.call(reqstr.getBytes());
                if (repdata != null) {
                    String repstr =
                            new String(repdata.array(), repdata.position(), repdata.limit()
                                    - repdata.position());
                    System.out.println("call result, " + repstr);
View Full Code Here

Examples of com.alibaba.rocketmq.research.rpc.RPCClient.call()

        rpcClient.start();

        for (long i = 0;; i++) {
            try {
                String reqstr = "nice" + i;
                ByteBuffer repdata = rpcClient.call(reqstr.getBytes());
                if (repdata != null) {
                    String repstr =
                            new String(repdata.array(), repdata.position(), repdata.limit()
                                    - repdata.position());
                    System.out.println("call result, " + repstr);
View Full Code Here

Examples of com.artemis.weaver.ComponentTypeTransmuter.call()

    meta.type = Type.getObjectType(cr.getClassName());
   
    ClassWriter cw = null;
    if (meta.annotation != WeaverType.NONE) {
      ComponentTypeTransmuter weaver = new ComponentTypeTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
    } else if (meta.sysetemOptimizable != OptimizationType.NOT_OPTIMIZABLE) {
      EsOptimizationTransmuter weaver = new EsOptimizationTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
View Full Code Here

Examples of com.artemis.weaver.EsOptimizationTransmuter.call()

      ComponentTypeTransmuter weaver = new ComponentTypeTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
    } else if (meta.sysetemOptimizable != OptimizationType.NOT_OPTIMIZABLE) {
      EsOptimizationTransmuter weaver = new EsOptimizationTransmuter(null, cr, meta);
      weaver.call();
      cw = weaver.getClassWriter();
    }
   
    assertEquals("", ClassUtil.verifyClass(cw));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.