Class OsmZoningHandlerProfiler


  • public class OsmZoningHandlerProfiler
    extends Object
    Track statistics on Osm zoning handler
    Author:
    markr
    • Constructor Detail

      • OsmZoningHandlerProfiler

        public OsmZoningHandlerProfiler()
        Default constructor
    • Method Detail

      • incrementMultiPolygonPlatformCounter

        public void incrementMultiPolygonPlatformCounter()
        increment the counter that tracks the number of multi polygons identified as PT platforms
      • incrementPlatformRelationCounter

        public void incrementPlatformRelationCounter()
        increment the counter that tracks the number of platform relations identified as PT platforms
      • incrementOsmPtv1TagCounter

        public void incrementOsmPtv1TagCounter​(String tagType)
        Increment counter for passed in osm tag regarding a Ptv1 value tag
        Parameters:
        tagType - to increment counter for
      • incrementOsmPtv2TagCounter

        public void incrementOsmPtv2TagCounter​(String tagType)
        Increment counter for passed in osm tag regarding a Ptv2 value tag
        Parameters:
        tagType - to increment counter for
      • incrementOsmTagCounter

        public void incrementOsmTagCounter​(OsmPtVersionScheme version,
                                           String tagType)
        Increment counter for passed in osm tag regarding Ptv value tag
        Parameters:
        version - of pt tag
        tagType - tagvalue
      • logProcessingStats

        public void logProcessingStats​(OsmZoningReaderData planitOsmZoningReaderData,
                                       Zoning zoning)
        log counters regarding main processing phase
        Parameters:
        planitOsmZoningReaderData - to extract stats from
        zoning - for which information was tracked
      • logTransferZoneStatus

        public void logTransferZoneStatus​(long numberOfTransferZones)
        log user information based on currently number of registered transfer zones
        Parameters:
        numberOfTransferZones - registered transfer zones so far
      • logConnectoidStatus

        public void logConnectoidStatus​(int numberOfConnectoids)
        log user information based on currently number of registered connectoids
        Parameters:
        numberOfConnectoids - registered connectoids so far
      • logTransferZoneGroupStatus

        public void logTransferZoneGroupStatus​(int numberOfTransferZoneGroups)
        log user information based on currently number of registered transfer zone groups
        Parameters:
        numberOfTransferZoneGroups - registered transfer zone groups so far
      • reset

        public void reset()
        reset the profiler