Module lettuce.core

Interface ProtocolKeyword

All Known Implementing Classes:
BitFieldArgs.OverflowType, CommandKeyword, CommandType, FlushMode, GeoArgs.Unit, UnblockType

public interface ProtocolKeyword
Interface for protocol keywords providing an encoded representation.
Author:
Mark Paluch
  • Method Summary

    Modifier and Type Method Description
    byte[] getBytes()  
    String name()  
  • Method Details

    • getBytes

      byte[] getBytes()
      Returns:
      byte[] encoded representation.
    • name

      String name()
      Returns:
      name of the command.