Class InMemoryAdminTopicMetadataAccessor

    • Constructor Detail

      • InMemoryAdminTopicMetadataAccessor

        public InMemoryAdminTopicMetadataAccessor()
    • Method Detail

      • updateMetadata

        public void updateMetadata​(java.lang.String clusterName,
                                   java.util.Map<java.lang.String,​java.lang.Long> metadata)
        Description copied from class: AdminTopicMetadataAccessor
        Update all relevant metadata for a given cluster in a single transaction.
        Specified by:
        updateMetadata in class AdminTopicMetadataAccessor
        Parameters:
        clusterName - of the cluster at interest.
        metadata - map containing relevant information.
      • getMetadata

        public java.util.Map<java.lang.String,​java.lang.Long> getMetadata​(java.lang.String clusterName)
        Description copied from class: AdminTopicMetadataAccessor
        Retrieve the latest metadata map.
        Specified by:
        getMetadata in class AdminTopicMetadataAccessor
        Parameters:
        clusterName - of the cluster at interest.