Interface ConfigResponse

  • All Known Implementing Classes:
    SlimeConfigResponse

    public interface ConfigResponse
    A config response encapsulates the payload and some meta information. This makes it possible to represent the payload in different formats all up to when rendering it to the client. A subclass of this must be thread safe, because a response may be cached and, the methods below should be callable from multiple request handler threads.
    Author:
    Ulf Lilleengen
    • Method Detail

      • getPayload

        com.yahoo.text.Utf8Array getPayload()
      • getGeneration

        long getGeneration()
      • isInternalRedeploy

        boolean isInternalRedeploy()
      • getConfigMd5

        java.lang.String getConfigMd5()
      • serialize

        void serialize​(java.io.OutputStream os,
                       CompressionType uncompressed)
                throws java.io.IOException
        Throws:
        java.io.IOException