Package ru.bitel.bgbilling.kernel.tariff.server.bean

# Class TariffVarRuntimeMap

java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.tariff.server.bean.TariffVarRuntimeMap

All Implemented Interfaces:
  `EventListener<TariffVarModifiedEvent>`

public class TariffVarRuntimeMap extends ru.bitel.bgbilling.kernel.base.server.logger.BGLogger implements EventListener<TariffVarModifiedEvent>

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TariffVarRuntimeMap()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TariffVar`
  `get(int id, LocalDate date)`
  ищем в мапе тариф по ID, если нашли смотрим
  `static TariffVarRuntimeMap`
  `getInstance()`
  `void`
  `notify(TariffVarModifiedEvent e, EventListenerContext ctx)`
  `Optional<TariffVar>`
  `opt(int id, LocalDate date)`

  ### Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger

  `error, error, error, getLogger, logError, logError, warn`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TariffVarRuntimeMap

    public TariffVarRuntimeMap()

- ## Method Details

  - ### getInstance

    public static TariffVarRuntimeMap getInstance()

  - ### notify

    public void notify(TariffVarModifiedEvent e, EventListenerContext ctx) throws Exception
    Specified by:
      `notify` in interface `EventListener<TariffVarModifiedEvent>`
    Throws:
      `Exception`

  - ### opt

    public Optional<TariffVar> opt(int id, LocalDate date)

  - ### get

    public TariffVar get(int id, LocalDate date)
    ищем в мапе тариф по ID, если нашли смотрим
    Parameters:
      `id` -
      `date` -
    Returns: