Interface ModuleCommandInitializer


  • public interface ModuleCommandInitializer
    Modules which wish to implement their own commands and visitors must also provide an implementation of this interface.
    Since:
    5.0
    Author:
    Manik Surtani
    • Method Detail

      • initializeReplicableCommand

        void initializeReplicableCommand​(ReplicableCommand c,
                                         boolean isRemote)
        Initializes a command constructed using ModuleCommandFactory.fromStream(byte) with necessary named-cache-specific components.
        Parameters:
        c - command to initialize
        isRemote - true if the source is a remote node in the cluster, false otherwise.