Class PlaceNameServiceSet

    • Constructor Detail

      • PlaceNameServiceSet

        public PlaceNameServiceSet()
    • Method Detail

      • addService

        public boolean addService​(PlaceNameService placeNameService,
                                  boolean replace)
        Add a service to the service set.
        Parameters:
        placeNameService - Service to add. May not be null.
        replace - true if the service may replace an equivalent service already in the set. false if the service may not replace a service already in the set.
        Returns:
        true if the service was added to the service set, or if the service replaced an existing item in the service set. Returns false if the set was not changed.
        Throws:
        java.lang.IllegalArgumentException - if placeNameService is null
      • getServiceCount

        public final int getServiceCount()
      • getExpiryTime

        public final long getExpiryTime()
      • setExpiryTime

        public final void setExpiryTime​(long expiryTime)