Class ConfigurationTypeUtil

java.lang.Object
net.spy.memcached.ConfigurationTypeUtil

public final class ConfigurationTypeUtil extends Object
Utilities for processing config types.
  • Method Details

    • getTypeBytes

      public static byte[] getTypeBytes(ConfigurationType type)
      Get the bytes for a config type.
      Parameters:
      type - the config type
      Returns:
      the bytes
    • getTypeBytes

      public static Collection<byte[]> getTypeBytes(Collection<ConfigurationType> types)
      Get the types in byte form for all of the config types.
      Parameters:
      types - a collection of types
      Returns:
      return a collection of the byte representations of config types