Class ConstantMap


  • class ConstantMap
    extends java.lang.Object
    A map of objectId->object where each objectId can map to several values, each associated with a timestamp.
    • Constructor Detail

      • ConstantMap

        ConstantMap()
    • Method Detail

      • touchAll

        void touchAll()
      • put

        private void put​(long valueId,
                         java.lang.Object value,
                         long timestamp)
      • get

        java.lang.Object get​(long valueId,
                             long atTimestamp)
        Returns one of the values identified by valueId. The value returned is the value associated with the smallest timestamp larger than or equals to atTimestamp. If the map doesn't contain a value identified by valueId, a dummy object may be returned.
      • resolve

        static java.lang.Object resolve​(java.lang.Object o,
                                        long atTimestamp)