Package com.springsource.insight.intercept.operation

Examples of com.springsource.insight.intercept.operation.OperationType


        Number port = lastOperation.get(GemFireDefenitions.FIELD_PORT, Number.class);
        assertNotNull("Missing port value", port);

        String messageType = lastOperation.get(GemFireDefenitions.FIELD_MESSAGE_TYPE, String.class);
        String messageLbl = lastOperation.getLabel();
        OperationType type = lastOperation.getType();

        assertEquals("GemFire remote operation host", TEST_ADDRESS, hostname);
        assertEquals("GemFire remote operation port", TEST_PORT, port.intValue(), 0);
        assertEquals("GemFire remote operation messageType", MessageType.getString(msgType), messageType);
        assertEquals("GemFire remote operation label", GemFireRemoteOperationCollectionAspect.LABEL, messageLbl);
View Full Code Here


        Number port = lastOperation.get(GemFireDefenitions.FIELD_PORT, Number.class);
        assertNotNull("No port value", port);

        String messageType = lastOperation.get(GemFireDefenitions.FIELD_MESSAGE_TYPE, String.class);
        String messageLbl = lastOperation.getLabel();
        OperationType type = lastOperation.getType();

        assertEquals("GemFire remote operation host", TEST_ADDRESS, hostname);
        assertEquals("GemFire remote operation port", TEST_PORT, port.intValue(), 0);
        assertEquals("GemFire remote operation messageType", MessageType.getString(msgType), messageType);
        assertEquals("GemFire remote operation label", GemFireRemoteOperationCollectionAspect.LABEL, messageLbl);
View Full Code Here

        return DEFAULT_SCORE;
    }

    @Override
    protected OperationType validateScoringFrame(Frame frame) {
        OperationType type = super.validateScoringFrame(frame);
        if (type == null) {
            return null;
        }

        Operation op = frame.getOperation();
View Full Code Here

        if (!StringUtil.isEmpty(sql)) {
            return sql;
        }

        OperationType type = op.getType();

        if (type.equals(JdbcDriverExternalResourceAnalyzer.TYPE)) {
            return op.getLabel();
        } else {
            return null;
        }
View Full Code Here

TOP

Related Classes of com.springsource.insight.intercept.operation.OperationType

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.