接口 ServiceUnitId

所有已知实现类:
NamespaceName, TopicName

public interface ServiceUnitId
Basic interface for service unit's identification.
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the namespace object that this ServiceUnitId belongs to.
    boolean
    includes(TopicName topicName)
    Check whether a fully-qualified topic is included in this ServiceUnitId object.
     
  • 方法详细资料

    • toString

      String toString()
      覆盖:
      toString 在类中 Object
    • getNamespaceObject

      NamespaceName getNamespaceObject()
      Return the namespace object that this ServiceUnitId belongs to.
      返回:
      NamespaceName object
    • includes

      boolean includes(TopicName topicName)
      Check whether a fully-qualified topic is included in this ServiceUnitId object.
      参数:
      topicName - a fully-qualified topic object
      返回:
      true or false