Interface TwinPublisher

    • Method Detail

      • register

        <T> TwinPublisher.Session<T> register​(java.lang.String key,
                                              java.lang.Class<T> clazz,
                                              java.lang.String location)
                                       throws java.io.IOException
        Type Parameters:
        T - type of object for replication
        Parameters:
        key - unique key for the object.
        clazz - a class used for serialization.
        location - targeted Minion location for the object, set null for all locations.
        Returns:
        Session which provides updates to object.
        Throws:
        java.io.IOException
      • register

        default <T> TwinPublisher.Session<T> register​(java.lang.String key,
                                                      java.lang.Class<T> clazz)
                                               throws java.io.IOException
        Throws:
        java.io.IOException