Package org.infinispan.commands.module
Interface ModuleCommandInitializer
-
public interface ModuleCommandInitializer
Modules which wish to implement their own commands and visitors must also provide an implementation of this interface and declare it in their infinispan-module.properties file under key infinispan.module.command.initializer. Implementations must be public classes with a public, no-arg constructor for instantiation.- Since:
- 5.0
- Author:
- Manik Surtani
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
initializeReplicableCommand(ReplicableCommand c, boolean isRemote)
Initializes a command constructed usingModuleCommandFactory.fromStream(byte)
with necessary named-cache-specific components.
-
-
-
Method Detail
-
initializeReplicableCommand
void initializeReplicableCommand(ReplicableCommand c, boolean isRemote)
Initializes a command constructed usingModuleCommandFactory.fromStream(byte)
with necessary named-cache-specific components.- Parameters:
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.
-
-