Class AbstractTraceInstrumentor

    • Constructor Detail

      • AbstractTraceInstrumentor

        public AbstractTraceInstrumentor()
    • Method Detail

      • upladInformation

        public void upladInformation​(AbstractGoal _exe,
                                     int _batch_size)
        Saves the information that has been collected by the instrumentor in the context of the given AbstractGoal.
        Parameters:
        _exe - a AbstractGoal object.
        _batch_size - a int.
      • awaitUpload

        public void awaitUpload()
        Make the current thread wait until the upload of the information finished.
      • getStatistics

        public Map<String,​Long> getStatistics()
        Return instrumentor-specific statistics.
        Returns:
        a Map object.
      • merge

        public static final Set<ConstructId> merge​(Map<String,​Set<org.eclipse.steady.shared.json.model.ConstructId>> _map)
        Merges the constructs of the map into a single HashSet, i.e., unordered.
        Parameters:
        _map - a Map object.
        Returns:
        a Set object.
      • merge

        public static final Set<ConstructId> merge​(Map<String,​Set<org.eclipse.steady.shared.json.model.ConstructId>> _map,
                                                   boolean _ordered)
        Merges the constructs of the map into a single set. Returns a TreeSet if _ordered is equal to true, a HashSet otherwise.
        Parameters:
        _map - a Map object.
        _ordered - a boolean.
        Returns:
        a single set containing all the constructs passed in _map