Class BeginInvalidationCommand

  • All Implemented Interfaces:
    org.infinispan.commands.FlagAffectedCommand, org.infinispan.commands.ReplicableCommand, org.infinispan.commands.TopologyAffectedCommand, org.infinispan.commands.VisitableCommand, org.infinispan.commands.write.WriteCommand, org.infinispan.util.concurrent.locks.RemoteLockCommand

    public class BeginInvalidationCommand
    extends org.infinispan.commands.write.InvalidateCommand
    Author:
    Radim Vansa <rvansa@redhat.com>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.infinispan.commands.VisitableCommand

        org.infinispan.commands.VisitableCommand.LoadType
    • Field Summary

      • Fields inherited from class org.infinispan.commands.write.InvalidateCommand

        COMMAND_ID, commandInvocationId, keys, notifier
    • Constructor Summary

      Constructors 
      Constructor Description
      BeginInvalidationCommand()  
      BeginInvalidationCommand​(org.infinispan.notifications.cachelistener.CacheNotifier notifier, long flagsBitSet, org.infinispan.commands.CommandInvocationId commandInvocationId, Object[] keys, Object lockOwner)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object o)  
      byte getCommandId()  
      Object getLockOwner()  
      int hashCode()  
      void readFrom​(ObjectInput input)  
      String toString()  
      void writeTo​(ObjectOutput output)  
      • Methods inherited from class org.infinispan.commands.write.InvalidateCommand

        acceptVisitor, canBlock, fail, getAffectedKeys, getCommandInvocationId, getKeyLockOwner, getKeys, getKeysToLock, getValueMatcher, hasSkipLocking, hasZeroLockAcquisition, init, isConditional, isReturnValueExpected, isSuccessful, loadType, notify, perform, setValueMatcher
      • Methods inherited from class org.infinispan.commands.AbstractTopologyAffectedCommand

        getTopologyId, setTopologyId
      • Methods inherited from class org.infinispan.commands.AbstractFlagAffectedCommand

        getFlagsBitSet, hasSameFlags, printFlags, setFlagsBitSet
      • Methods inherited from interface org.infinispan.commands.FlagAffectedCommand

        addFlag, addFlags, addFlags, getFlags, getFlagsBitSet, hasAnyFlag, hasFlag, setFlags, setFlagsBitSet
      • Methods inherited from interface org.infinispan.commands.ReplicableCommand

        invoke, invokeAsync, setOrigin
      • Methods inherited from interface org.infinispan.commands.TopologyAffectedCommand

        getTopologyId, setTopologyId
      • Methods inherited from interface org.infinispan.commands.VisitableCommand

        ignoreCommandOnStatus, shouldInvoke
      • Methods inherited from interface org.infinispan.commands.write.WriteCommand

        isWriteOnly, updateStatusFromRemoteResponse
    • Constructor Detail

      • BeginInvalidationCommand

        public BeginInvalidationCommand()
      • BeginInvalidationCommand

        public BeginInvalidationCommand​(org.infinispan.notifications.cachelistener.CacheNotifier notifier,
                                        long flagsBitSet,
                                        org.infinispan.commands.CommandInvocationId commandInvocationId,
                                        Object[] keys,
                                        Object lockOwner)
    • Method Detail

      • getLockOwner

        public Object getLockOwner()
      • writeTo

        public void writeTo​(ObjectOutput output)
                     throws IOException
        Specified by:
        writeTo in interface org.infinispan.commands.ReplicableCommand
        Overrides:
        writeTo in class org.infinispan.commands.write.InvalidateCommand
        Throws:
        IOException
      • getCommandId

        public byte getCommandId()
        Specified by:
        getCommandId in interface org.infinispan.commands.ReplicableCommand
        Overrides:
        getCommandId in class org.infinispan.commands.write.InvalidateCommand
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class org.infinispan.commands.write.InvalidateCommand
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.infinispan.commands.write.InvalidateCommand
      • toString

        public String toString()
        Overrides:
        toString in class org.infinispan.commands.write.InvalidateCommand