Class ContinuousQueryResultExternalizer

java.lang.Object
org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>
org.infinispan.query.remote.impl.filter.ContinuousQueryResultExternalizer
All Implemented Interfaces:
Serializable, org.infinispan.commons.marshall.AdvancedExternalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>, org.infinispan.commons.marshall.Externalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>

public final class ContinuousQueryResultExternalizer extends org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>
A 'remote' ContinuousQueryResult needs jboss-marshalling serializability between nodes when running with object storage. It will only be marshalled using protobuf before passing it to the remote client.
Since:
9.0
Author:
anistor@redhat.com
See Also:
  • Constructor Details

    • ContinuousQueryResultExternalizer

      public ContinuousQueryResultExternalizer()
  • Method Details

    • writeObject

      public void writeObject(ObjectOutput output, org.infinispan.query.remote.client.impl.ContinuousQueryResult continuousQueryResult) throws IOException
      Throws:
      IOException
    • readObject

      public org.infinispan.query.remote.client.impl.ContinuousQueryResult readObject(ObjectInput input) throws IOException, ClassNotFoundException
      Throws:
      IOException
      ClassNotFoundException
    • getId

      public Integer getId()
      Specified by:
      getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>
      Overrides:
      getId in class org.infinispan.commons.marshall.AbstractExternalizer<org.infinispan.query.remote.client.impl.ContinuousQueryResult>
    • getTypeClasses

      public Set<Class<? extends org.infinispan.query.remote.client.impl.ContinuousQueryResult>> getTypeClasses()