Class FieldLevelTrackingApproach.CallStack

    • Field Detail

      • expectedFetchCountPerLevel

        private final LevelMap expectedFetchCountPerLevel
      • fetchCountPerLevel

        private final LevelMap fetchCountPerLevel
      • expectedStrategyCallsPerLevel

        private final LevelMap expectedStrategyCallsPerLevel
      • happenedStrategyCallsPerLevel

        private final LevelMap happenedStrategyCallsPerLevel
      • happenedOnFieldValueCallsPerLevel

        private final LevelMap happenedOnFieldValueCallsPerLevel
      • dispatchedLevels

        private final java.util.Set<java.lang.Integer> dispatchedLevels
    • Constructor Detail

      • CallStack

        CallStack()
    • Method Detail

      • increaseExpectedFetchCount

        void increaseExpectedFetchCount​(int level,
                                        int count)
      • increaseFetchCount

        void increaseFetchCount​(int level)
      • increaseExpectedStrategyCalls

        void increaseExpectedStrategyCalls​(int level,
                                           int count)
      • increaseHappenedStrategyCalls

        void increaseHappenedStrategyCalls​(int level)
      • increaseHappenedOnFieldValueCalls

        void increaseHappenedOnFieldValueCalls​(int level)
      • allStrategyCallsHappened

        boolean allStrategyCallsHappened​(int level)
      • allOnFieldCallsHappened

        boolean allOnFieldCallsHappened​(int level)
      • allFetchesHappened

        boolean allFetchesHappened​(int level)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • dispatchIfNotDispatchedBefore

        public boolean dispatchIfNotDispatchedBefore​(int level)
      • clearAndMarkCurrentLevelAsReady

        public void clearAndMarkCurrentLevelAsReady​(int level)