Class EdgeCache

java.lang.Object
io.openems.backend.common.edgewebsocket.EdgeCache

public class EdgeCache extends Object
  • Constructor Details

    • EdgeCache

      public EdgeCache()
  • Method Details

    • getChannelValue

      public final com.google.gson.JsonElement getChannelValue(String address)
      Gets the channel value from cache.
      Parameters:
      address - the Channel-Address of the channel
      Returns:
      the value; JsonNull if it is not in cache
    • update

      public void update(SortedMap<Long,Map<String,com.google.gson.JsonElement>> incomingDatas)
      Updates the Cache.
      Parameters:
      incomingDatas - the incoming data