Package jp.co.acroquest.endosnipe.javelin.bean

Examples of jp.co.acroquest.endosnipe.javelin.bean.Invocation


        JavelinConfig config = new JavelinConfig();
        boolean isReturnDetail = config.isReturnDetail();

        StringBuffer jvnBuffer = new StringBuffer();

        Invocation callee = node.getInvocation();
        Invocation caller;
        if (parent == null)
        {
            String processName = VMStatusHelper.getProcessName();
            caller =
                    new Invocation(processName, tree.getRootCallerName(),
                                   JavelinLogConstants.DEFAULT_LOGMETHOD, 0);
        }
        else
        {
            caller = parent.getInvocation();
        }

        if (callee == null)
        {
            return "";
        }

        jvnBuffer.append(MESSAGE_TYPES[messageType]);

        SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_PATTERN);
        jvnBuffer.append(",");
        jvnBuffer.append(dateFormat.format(time));

        Throwable throwable = node.getThrowable();
        if (messageType == ID_THROW)
        {
            // ��O�N���X��
            addToJvnBuffer(throwable.getClass().getName(), jvnBuffer);

            // ��O�I�u�W�F�N�gID
            addToJvnBuffer(StatsUtil.getObjectID(throwable), jvnBuffer);
        }

        // �Ăяo���惁�\�b�h��
        addToJvnBuffer(getValidMethodName(callee), jvnBuffer);

        // �Ăяo����N���X��
        addToJvnBuffer(callee.getClassName(), jvnBuffer);

        // �Ăяo����I�u�W�F�N�gID
        addToJvnBuffer("unknown", jvnBuffer);

        if (messageType == ID_FIELD_READ || messageType == ID_FIELD_WRITE)
        {
            // �A�N�Z�X�����\�b�h��
            addToJvnBuffer("", jvnBuffer);

            // �A�N�Z�X���N���X��
            addToJvnBuffer("", jvnBuffer);

            // �A�N�Z�X���I�u�W�F�N�gID
            addToJvnBuffer("", jvnBuffer);

            // �A�N�Z�X��t�B�[���h�̌^
            addToJvnBuffer("", jvnBuffer);
        }
        else if (messageType == ID_CALL || messageType == ID_RETURN)
        {
            // �Ăяo�������\�b�h��
            addToJvnBuffer(getValidMethodName(caller), jvnBuffer);

            // �Ăяo�����N���X��
            addToJvnBuffer(caller.getClassName(), jvnBuffer);

            // �Ăяo�����I�u�W�F�N�gID
            addToJvnBuffer("unknown", jvnBuffer);

            // ���f�B�t�@�C�A
View Full Code Here


        HadoopCallTreeNode parent = node.getParent();
        JavelinConfig config = new JavelinConfig();

        StringBuffer jvnBuffer = new StringBuffer();

        Invocation callee = node.getInvocation();

        // RPC�Ȃ̂ŌĂяo�����͕K��NULL�ɂȂ�
        if (parent != null)
        {
            return null;
View Full Code Here

     *
     * @return {@link Invocation}
     */
    public Invocation getInvocation()
    {
        Invocation ret = null;
        String threadID = String.valueOf(Thread.currentThread().getId());

        synchronized(invocationMap_)
        {
            if(!invocationMap_.containsKey(threadID))
View Full Code Here

TOP

Related Classes of jp.co.acroquest.endosnipe.javelin.bean.Invocation

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.