Interface TransactionSerializerSchemeProvider

  • All Superinterfaces:
    java.io.Serializable

    public interface TransactionSerializerSchemeProvider
    extends java.io.Serializable
    A provider of schemes for Request, Response and State. The provided scheme strings has to be subsequently recognized by ValueSerializerFactory and provide expected serialization.
    • Method Detail

      • of

        static TransactionSerializerSchemeProvider of​(java.lang.String requestScheme,
                                                      java.lang.String responseScheme,
                                                      java.lang.String stateScheme,
                                                      java.lang.String commitScheme)
      • getRequestScheme

        java.lang.String getRequestScheme()
        Retrieve scheme for serialization of Request
        Returns:
        the string scheme representing Request serialization.
      • getResponseScheme

        java.lang.String getResponseScheme()
        Retrieve scheme for serialization of Request
        Returns:
        the string scheme representing Request serialization.
      • getStateScheme

        java.lang.String getStateScheme()
        Retrieve scheme for serialization of Request
        Returns:
        the string scheme representing Request serialization.
      • getCommitScheme

        java.lang.String getCommitScheme()
        Retrieve scheme for serialization of Commit
        Returns:
        the string scheme representing Commit serialization.