Class NodeCounterFormatter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>,N extends Node<PK,D,F>>

java.lang.Object
io.datarouter.storage.node.adapter.counter.formatter.NodeCounterFormatter<PK,D,F,N>

public class NodeCounterFormatter<PK extends io.datarouter.model.key.primary.PrimaryKey<PK>,D extends io.datarouter.model.databean.Databean<PK,D>,F extends io.datarouter.model.serialize.fielder.DatabeanFielder<PK,D>,N extends Node<PK,D,F>> extends Object
  • Constructor Details

    • NodeCounterFormatter

      public NodeCounterFormatter(N node)
  • Method Details

    • count

      public void count(String key)
    • count

      public void count(String key, long delta)