Examples of CallStack


Examples of com.avaje.ebean.bean.CallStack

      query.setAutoFetchManager(this);
      return true;
    }

    // create a query point to identify the query
    CallStack stack = server.createCallStack();
    ObjectGraphNode origin = query.setOrigin(stack);

    // get current "tuned fetch" for this query point
    TunedQueryInfo tunedFetch = tunedQueryInfoMap.get(origin.getOriginQueryPoint().getKey());
View Full Code Here

Examples of com.avaje.ebean.bean.CallStack

    }

    if (true) {
      // if determine cost and no origin for Autofetch
      if (query.getParentNode() == null) {
        CallStack callStack = createCallStack();
        query.setOrigin(callStack);
      }
    }

    // determine extra joins required to support where clause
View Full Code Here

Examples of com.avaje.ebean.bean.CallStack

    if (stackLength < 1) {
      // this should not really happen
      throw new RuntimeException("StackTraceElement size 0?  stack: " + Arrays.toString(stackTrace));
    }

    return new CallStack(finalTrace);
  }
View Full Code Here

Examples of org.eurekaJ.agent.model.CallStack

  }

  public synchronized static void logCallStack(CallStackTraceBuilderState callStackState) {
    //Only calls originating from a Frontend class is sent to the Manager
    //if (callStackState.getClassType().equalsIgnoreCase("Frontend") || callStackState.getClassType().equalsIgnoreCase("Frontends")) {
      CallStack topLevelCallStack = callStackState.getCallStack();
      StringBuffer sb = new StringBuffer();
     
      sb.append("CallStacktrace: ").append(topLevelCallStack.getThreadName()).append("(").append(topLevelCallStack.getThreadid()).append(") ");
      sb.append(System.getProperties().getProperty("org.eurekaJ.agentName")).append(" ").append(callStackState.getClassType()).append(" ");
      sb.append(callStackState.getPath()).append(" ").append(callStackState.getClassName()).append(" ").append(callStackState.getMethodName()).append(" ");
      sb.append(callStackState.getStartTimestamp()).append(" ").append(callStackState.getStopTimestamp()).append(";");
      sb.append(recursiveCallStackLogger(topLevelCallStack, 1));
      appendToBuffer(sb.toString());
View Full Code Here

Examples of org.openbp.server.context.CallStack

  static void removeSocketData(NodeSocket socket, TokenContext context)
  {
    if (socket == null)
      return;

    CallStack callStack = context.getCallStack();
    if (callStack.containsSocketReference(socket))
      // This socket is still in the call stack, so we shouldn't remove its data
      return;

    // Iterate all parameters of the entry socket
    for (Iterator it = socket.getParams(); it.hasNext();)
View Full Code Here

Examples of org.openbp.server.context.CallStack

    // Save variable values before we perform the rollback
    NodeSocket memCurrentSocket = memContext.getCurrentSocket();
    int memPriority = memContext.getPriority();
    String memQueueType = memContext.getQueueType();
    CallStack memCallStack = null;
    ProgressInfo memProgressInfo = null;
    Map memProcessVariables = null;
    try
    {
      if (rollbackPositionBehavior == RollbackPositionBehavior.MAINTAIN_POSITION)
View Full Code Here

Examples of org.openbp.server.context.CallStack

  public List getCallStackElements(String clientId)
  {
    DebuggerClient client = determineClient(clientId);

    ContextInspector inspector = client.getInspector();
    CallStack callStack = inspector.getContext().getCallStack();

    if (callStack.getCallDepth() == 0)
      // Empty call stack
      return null;

    List elements = new ArrayList();

    // Iterate the call stack and create the list of stack info objects
    for (Iterator it = callStack.iterator(); it.hasNext();)
    {
      CallStackItem stackItem = (CallStackItem) it.next();

      CallStackInfo stackInfo = new CallStackInfo();
View Full Code Here

Examples of org.openbp.server.context.CallStack

    // Save variable values before we perform the rollback
    NodeSocket memCurrentSocket = memContext.getCurrentSocket();
    int memPriority = memContext.getPriority();
    String memQueueType = memContext.getQueueType();
    CallStack memCallStack = null;
    ProgressInfo memProgressInfo = null;
    Map memProcessVariables = null;
    try
    {
      if (rollbackPositionBehavior == RollbackPositionBehavior.MAINTAIN_POSITION)
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.