Class NamespaceRecord


  • public class NamespaceRecord
    extends ClusterRecord
    Cluster record representing a namespace registration, reregistration or unregistration.
    • Constructor Detail

      • NamespaceRecord

        public NamespaceRecord​(String oldPrefix,
                               String newPrefix,
                               String uri,
                               Record record)
        Create a new instance of this class. Used when serializing a namespace operation.
        Parameters:
        oldPrefix - old prefix
        newPrefix - new prefix
        uri - URI
        record - journal record
    • Method Detail

      • process

        public void process​(ClusterRecordProcessor processor)
        Process this record, calling the appropriate process method.
        Specified by:
        process in class ClusterRecord
        Parameters:
        processor - processor
      • getOldPrefix

        public String getOldPrefix()
        Return the old prefix.
        Returns:
        old prefix
      • getNewPrefix

        public String getNewPrefix()
        Return the new prefix.
        Returns:
        new prefix
      • getUri

        public String getUri()
        Return the URI.
        Returns:
        URI