Class OsmZoningHandlerProfiler
- java.lang.Object
-
- org.goplanit.osm.converter.zoning.handler.OsmZoningHandlerProfiler
-
public class OsmZoningHandlerProfiler extends Object
Track statistics on Osm zoning handler- Author:
- markr
-
-
Constructor Summary
Constructors Constructor Description OsmZoningHandlerProfiler()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
incrementMultiPolygonPlatformCounter()
increment the counter that tracks the number of multi polygons identified as PT platformsvoid
incrementOsmPtv1TagCounter(String tagType)
Increment counter for passed in osm tag regarding a Ptv1 value tagvoid
incrementOsmPtv2TagCounter(String tagType)
Increment counter for passed in osm tag regarding a Ptv2 value tagvoid
incrementOsmTagCounter(OsmPtVersionScheme version, String tagType)
Increment counter for passed in osm tag regarding Ptv value tagvoid
incrementPlatformRelationCounter()
increment the counter that tracks the number of platform relations identified as PT platformsvoid
logConnectoidStatus(int numberOfConnectoids)
log user information based on currently number of registered connectoidsvoid
logProcessingStats(OsmZoningReaderData planitOsmZoningReaderData, Zoning zoning)
log counters regarding main processing phasevoid
logTransferZoneGroupStatus(int numberOfTransferZoneGroups)
log user information based on currently number of registered transfer zone groupsvoid
logTransferZoneStatus(long numberOfTransferZones)
log user information based on currently number of registered transfer zonesvoid
reset()
reset the profiler
-
-
-
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 tagtagType
- tagvalue
-
logProcessingStats
public void logProcessingStats(OsmZoningReaderData planitOsmZoningReaderData, Zoning zoning)
log counters regarding main processing phase- Parameters:
planitOsmZoningReaderData
- to extract stats fromzoning
- 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
-
-