Examples of terminate()


Examples of org.apache.bsf.BSFManager.terminate()

   
    public void discardFromPool(Object object)
    {
        BSFManager manager = (BSFManager)object;
       
        manager.terminate();
    }

}
View Full Code Here

Examples of org.apache.cocoon.webapps.authentication.user.UserHandler.terminate()

        }
        // are we logged in?
        UserHandler handler = this.getUserHandler( handlerName );
        // we don't throw an exception if we are already logged out!
        if ( handler != null ) {
            handler.terminate();
            UserState status = this.getUserState();
            status.removeHandler( handlerName );
            this.updateUserState();

            // handling of session termination
View Full Code Here

Examples of org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator.terminate()

      WindowFunctionDef wFn = tabDef.getWindowFunctions().get(i);
      GenericUDAFEvaluator fnEval = wFn.getWFnEval();

      int numRowsRemaining = wFn.getWindowFrame().getEnd().getAmt();
      if (fnEval instanceof ISupportStreamingModeForWindowing) {
        fnEval.terminate(streamingState.aggBuffers[i]);

        WindowFunctionInfo wFnInfo = FunctionRegistry.getWindowFunctionInfo(wFn
            .getName());
        if (!wFnInfo.isSupportsWindow()) {
          numRowsRemaining = ((ISupportStreamingModeForWindowing) fnEval)
View Full Code Here

Examples of org.apache.hive.ptest.execution.context.ExecutionContext.terminate()

          localCommandFactory, new SSHCommandExecutor(LOG, localCommandFactory, conf.getSshOpts()),
          new RSyncCommandExecutor(LOG, 10, localCommandFactory), LOG);
      exitCode = ptest.run();
    } finally {
      if(executionContext != null) {
        executionContext.terminate();
      }
      if(executionContextProvider != null) {
        executionContextProvider.close();
      }
    }
View Full Code Here

Examples of org.apache.ode.bpel.engine.DebuggerSupport.terminate()

        if (debugSupport == null) {
            log.error("Cannot terminate the instance " + iid + ", Debugger support not available");
            throw new InstanceManagementException("Cannot terminate the instance " + iid +
                    ", Debugger support not available");
        }
        debugSupport.terminate(iid);
    }

    /**
     * Delete Instances that matches the filter
     *
 
View Full Code Here

Examples of org.apache.stratos.autoscaler.client.cloud.controller.CloudControllerClient.terminate()

                }
                return;
            }
            // terminate the faulty member
            CloudControllerClient ccClient = CloudControllerClient.getInstance();
            ccClient.terminate(memberId);

            // remove from active member list
            partitionCtxt.removeActiveMemberById(memberId);

            if (log.isInfoEnabled()) {
View Full Code Here

Examples of org.apache.stratos.load.balancer.extension.api.LoadBalancerExtension.terminate()

        } catch (Exception e) {
            if (log.isErrorEnabled()) {
                log.error(e);
            }
            if (extension != null) {
                extension.terminate();
            }
        }
    }
}
View Full Code Here

Examples of org.apache.tajo.engine.function.builtin.AvgLong.terminate()

    FunctionContext ctx = avg.newContext();
    for (int i = 1; i <= 5; i++) {
      avg.eval(ctx, tuples[i-1]);
    }

    assertTrue(15 / 5 == avg.terminate(ctx).asFloat8());


    Tuple [] tuples2 = new Tuple[10];

    FunctionContext ctx2 = avg.newContext();
View Full Code Here

Examples of org.apache.uima.aae.InputChannel.terminate()

          iC.setTerminating();
      }
      // Stop the inflow of new input CASes
      stopInputChannel(true)// shutdownNow
       if ( iC != null ) {
        iC.terminate();
      }
      stopCasMultipliers();
      stopTransportLayer();
      if (cause != null && aCasReferenceId != null) {
        this.stop(cause, aCasReferenceId, true)// shutdownNow
View Full Code Here

Examples of org.apache.uima.aae.controller.ControllerLifecycle.terminate()

        // Send a trigger to initiate shutdown.
        if (ctrer instanceof AnalysisEngineController) {
          ((AnalysisEngineController) ctrer).getControllerLatch().release();
        }

        ctrer.terminate();
      }

      if (ctx instanceof FileSystemXmlApplicationContext) {
        ((FileSystemXmlApplicationContext) ctx).destroy();
      }
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.