Class SpawnPositionSearchDiagnostics

java.lang.Object
com.hypixel.hytale.server.spawning.util.SpawnPositionSearchDiagnostics

public final class SpawnPositionSearchDiagnostics extends Object
Captures diagnostics and map data for one position search.
  • Constructor Details

    • SpawnPositionSearchDiagnostics

      public SpawnPositionSearchDiagnostics()
  • Method Details

    • recordFailedAttempt

      public void recordFailedAttempt(int requestedResultCount)
    • getTermination

      public SpawnPositionSearchTermination getTermination()
    • getElapsedNanos

      public long getElapsedNanos()
    • getRequestedResultCount

      public int getRequestedResultCount()
    • getResultCount

      public int getResultCount()
    • getCandidateCount

      public int getCandidateCount()
    • getExactCandidateCount

      public int getExactCandidateCount()
    • getCachedCandidateCount

      public int getCachedCandidateCount()
    • getPrimaryCandidateCount

      public int getPrimaryCandidateCount()
    • getFallbackCandidateCount

      public int getFallbackCandidateCount()
    • getValidatedCandidateCount

      public int getValidatedCandidateCount()
    • getAcceptedCandidateCount

      public int getAcceptedCandidateCount()
    • getVisitedWindowCount

      public int getVisitedWindowCount()
    • getWindowCount

      public int getWindowCount()
    • getUnavailableWindowCount

      public int getUnavailableWindowCount()
    • isCandidateLimitReached

      public boolean isCandidateLimitReached()
    • getRejectionCount

      public int getRejectionCount(SpawnPositionCandidateRejection rejection)
    • getBlockReadCount

      public int getBlockReadCount()
    • getColumnLoadCount

      public int getColumnLoadCount()
    • getColumnReuseCount

      public int getColumnReuseCount()
    • getRowBuildCount

      public int getRowBuildCount()
    • getRowReuseCount

      public int getRowReuseCount()
    • getWindowBuildCount

      public int getWindowBuildCount()
    • getWindowReuseCount

      public int getWindowReuseCount()
    • getPrunedRowCount

      public int getPrunedRowCount()
    • getPrunedWindowCount

      public int getPrunedWindowCount()
    • getChunkResolveCount

      public int getChunkResolveCount()
    • getChunkReuseCount

      public int getChunkReuseCount()
    • getSectionResolveCount

      public int getSectionResolveCount()
    • getSectionReuseCount

      public int getSectionReuseCount()
    • formatSummary

      public String formatSummary()
    • hasSearchMap

      public boolean hasSearchMap()
    • formatMap

      public String formatMap()