Package com.sun.enterprise.admin.monitor.callflow

Examples of com.sun.enterprise.admin.monitor.callflow.Agent


                recordBuffer.append(recordNumber++).append(NVPAIR_SEPARATOR);
            }
           
            getNameValuePairs(recordBuffer, record);
           
            Agent callFlowAgent = Switch.getSwitch().getCallFlowAgent();
            if (callFlowAgent != null) {
                // Since it is possible that a log call may happen before
                // the Switch class's callflow agent is initialized during
                // server startup, we perform the null check above.
                ThreadLocalData tld = callFlowAgent.getThreadLocalData();
                if (tld != null) {
                    uniformLogFormat(recordBuffer, tld, level);
                }
            }
           
View Full Code Here


        String mId = null;
        String cfId = null;
        boolean isCallFlowEnabled = false;

        // call flow request id
        Agent agent = Switch.getSwitch().getCallFlowAgent();
        if (agent != null) {
            if (agent.isEnabled()) {
                ThreadLocalData data = agent.getThreadLocalData();
                if (data != null) {
                    cfId = data.getRequestId();
                }
            }
        }
View Full Code Here

    public boolean getEnabled() {
        return mCallFlowEnabled;
    }

    public void setEnabled(final boolean enabled) {
        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        callflowAgent.setEnable(enabled);
        mCallFlowEnabled = callflowAgent.isEnabled ();
    }
View Full Code Here

        mCallFlowEnabled = callflowAgent.isEnabled ();
    }
   

    public void clearData (){
        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        callflowAgent.clearData();
    }
View Full Code Here

        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        callflowAgent.clearData();
    }
   
    public boolean deleteRequestIDs (String[] requestId){
        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        return callflowAgent.deleteRequestIds(requestId);
    }
View Full Code Here

    public boolean deleteRequestIDs (String[] requestId){
        final Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        return callflowAgent.deleteRequestIds(requestId);
    }
    public List<Map<String, String>> queryRequestInformation (){
        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        return callflowAgent.getRequestInformation ();
    }
View Full Code Here

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();       
        return callflowAgent.getRequestInformation ();
    }

    public List<Map<String, String>> queryCallStackForRequest(String rid){
        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getCallStackForRequest (rid);
    }
View Full Code Here

        return callflowAgent.getCallStackForRequest (rid);
    }
   

    public Map<String, String> queryPieInformation (String rid){
        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getPieInformation(rid);       
    }
View Full Code Here

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getPieInformation(rid);       
    }

    public String getCallerIPFilter (){
        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getCallerIPFilter();
    }
View Full Code Here

        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        return callflowAgent.getCallerIPFilter();
    }
   
    public void setCallerIPFilter(String filter) {
        Agent callflowAgent = Switch.getSwitch().getCallFlowAgent();
        callflowAgent.setCallerIPFilter(filter);       
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.monitor.callflow.Agent

Copyright © 2018 www.massapicom. 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.