Examples of AHierarchicalDataRoot


Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

            // copy into a separate collection because the collection is modified in the loop
            for(ACollectingMeasurement m: new ArrayList<>(collectingMeasurements)) {
                finish(m);
            }
            isFinished = true;
            dataSink.onFinishedHierarchicalMeasurement(new AHierarchicalDataRoot(newData, startedFlows, joinedFlows));
        }
        else {
            childrenStack.peek().add(newData);
        }
    }
View Full Code Here

Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

        traceQueue.add(data);
    }

    private void doOffload() throws Exception {
        final List<AHierarchicalDataRoot> traces = new ArrayList<AHierarchicalDataRoot>();
        AHierarchicalDataRoot candidate;
        while ((candidate = traceQueue.poll()) != null) { //TODO limit number per HTTP request?!
            traces.add(candidate);
        }

        final List<AScalarDataPoint> scalars = new ArrayList<AScalarDataPoint>();
View Full Code Here

Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

        @Override public void handleNotification(Notification notification, Object handback) {
            //we only handle GARBAGE_COLLECTION_NOTIFICATION notifications here
            if (notification.getType().equals(GarbageCollectionNotificationInfo.GARBAGE_COLLECTION_NOTIFICATION)) {
                final GarbageCollectionNotificationInfo info = GarbageCollectionNotificationInfo.from((CompositeData) notification.getUserData());
                sysMon.injectSyntheticMeasurement(new AHierarchicalDataRoot(toHierarchicalData(info), Collections.<ACorrelationId>emptyList(), Collections.<ACorrelationId>emptyList()));
            }
        }
View Full Code Here

Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

            // copy into a separate collection because the collection is modified in the loop
            for(ACollectingMeasurement m: new ArrayList<ACollectingMeasurement>(collectingMeasurements)) {
                finish(m);
            }
            isFinished = true;
            dataSink.onFinishedHierarchicalMeasurement(new AHierarchicalDataRoot(newData, startedFlows, joinedFlows));
        }
        else {
            childrenStack.peek().add(newData);
        }
        checkFinishSyntheticRoot();
View Full Code Here

Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

            // copy into a separate collection because the collection is modified in the loop
            for(ACollectingMeasurement m: new ArrayList<ACollectingMeasurement>(collectingMeasurements)) {
                finish(m);
            }
            isFinished = true;
            dataSink.onFinishedHierarchicalMeasurement(new AHierarchicalDataRoot(newData, startedFlows, joinedFlows));
        }
        else {
            childrenStack.peek().add(newData);
        }
        checkFinishSyntheticRoot();
View Full Code Here

Examples of com.ajjpj.asysmon.data.AHierarchicalDataRoot

        traceQueue.add(data);
    }

    private void doOffload() throws Exception {
        final List<AHierarchicalDataRoot> traces = new ArrayList<AHierarchicalDataRoot>();
        AHierarchicalDataRoot candidate;
        while ((candidate = traceQueue.poll()) != null) { //TODO limit number per HTTP request?!
            traces.add(candidate);
        }

        final List<AScalarDataPoint> scalars = new ArrayList<AScalarDataPoint>();
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.