public class LocatorDbHelper
extends java.lang.Object
Constructor and Description |
---|
LocatorDbHelper() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
findAssignedHosts(java.lang.String domain,
boolean global,
java.lang.String tag)
Returns the IP addresses of the hosts with the given tag assigned to a
domain.
|
static java.util.Set<java.lang.String> |
findUserAssignedHosts(java.lang.String latdOrEmail,
java.lang.String tag)
Returns all hosts assigned to the user's domain with the given tag if the
service is not per-user.
|
public static java.util.Set<java.lang.String> findUserAssignedHosts(java.lang.String latdOrEmail, java.lang.String tag)
latdOrEmail
- login@domain or any email a usertag
- public static java.util.Set<java.lang.String> findAssignedHosts(java.lang.String domain, boolean global, java.lang.String tag)
domain
- domain uidglobal
- true if the domain is globaltag
- the server tag (eg. mail/imap_frontend)Copyright © 2021. All Rights Reserved.