Class GetCounterNamesOperation

java.lang.Object
java.util.concurrent.CompletableFuture<Collection<String>>
org.infinispan.client.hotrod.impl.operations.AbstractHotRodOperation<Collection<String>>
org.infinispan.client.hotrod.impl.operations.AbstractNoCacheHotRodOperation<Collection<String>>
org.infinispan.client.hotrod.counter.operation.GetCounterNamesOperation
All Implemented Interfaces:
CompletionStage<Collection<String>>, Future<Collection<String>>, org.infinispan.client.hotrod.impl.operations.HotRodOperation<Collection<String>>, org.infinispan.client.hotrod.impl.protocol.HotRodConstants

public class GetCounterNamesOperation extends org.infinispan.client.hotrod.impl.operations.AbstractNoCacheHotRodOperation<Collection<String>>
A counter operation for CounterManager.getCounterNames().
Since:
9.2
Author:
Pedro Ruivo
  • Constructor Details

    • GetCounterNamesOperation

      public GetCounterNamesOperation()
  • Method Details

    • getCacheName

      public String getCacheName()
      Specified by:
      getCacheName in interface org.infinispan.client.hotrod.impl.operations.HotRodOperation<Collection<String>>
      Overrides:
      getCacheName in class org.infinispan.client.hotrod.impl.operations.AbstractNoCacheHotRodOperation<Collection<String>>
    • getCacheNameBytes

      public byte[] getCacheNameBytes()
      Specified by:
      getCacheNameBytes in interface org.infinispan.client.hotrod.impl.operations.HotRodOperation<Collection<String>>
      Overrides:
      getCacheNameBytes in class org.infinispan.client.hotrod.impl.operations.AbstractNoCacheHotRodOperation<Collection<String>>
    • reset

      public void reset()
      Specified by:
      reset in interface org.infinispan.client.hotrod.impl.operations.HotRodOperation<Collection<String>>
      Overrides:
      reset in class org.infinispan.client.hotrod.impl.operations.AbstractHotRodOperation<Collection<String>>
    • createResponse

      public Collection<String> createResponse(io.netty.buffer.ByteBuf buf, short status, org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder decoder, org.infinispan.client.hotrod.impl.protocol.Codec codec, org.infinispan.client.hotrod.impl.operations.CacheUnmarshaller unmarshaller)
    • requestOpCode

      public short requestOpCode()
    • responseOpCode

      public short responseOpCode()