Interface MappingProvider


  • public interface MappingProvider
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      deltix.qsrv.hf.pub.ConstantInstrumentKey[] getMappingSnapshot()
      Returns snapshot of current index to InstrumentKey mapping for the topic.
      deltix.util.collections.generated.IntegerToObjectHashMap<deltix.qsrv.hf.pub.ConstantInstrumentKey> getTempMappingSnapshot​(int neededTempEntityIndex)
      Returns snapshot of current index to InstrumentKey mapping for the topic.
    • Method Detail

      • getMappingSnapshot

        deltix.qsrv.hf.pub.ConstantInstrumentKey[] getMappingSnapshot()
        Returns snapshot of current index to InstrumentKey mapping for the topic. Position in the array represents entity index. Position 0 means entity index 0.
      • getTempMappingSnapshot

        deltix.util.collections.generated.IntegerToObjectHashMap<deltix.qsrv.hf.pub.ConstantInstrumentKey> getTempMappingSnapshot​(int neededTempEntityIndex)
        Returns snapshot of current index to InstrumentKey mapping for the topic. Result contains a mapping between indexes and entities. May include zero, one, multiple or all temporary mapping entries depending on server heuristics. If the result does not contain needed entry then consumer should stop.
        Parameters:
        neededTempEntityIndex - entity index that need to be decoded
        Returns:
        mapping