public final class DynamoHosts extends Object implements Hosts
The class is immutable and thread-safe.
Hosts.NotFoundException| Constructor and Description |
|---|
DynamoHosts()
Default ctor.
|
DynamoHosts(com.s3auth.hosts.Dynamo dnm)
Default ctor.
|
public DynamoHosts()
public DynamoHosts(@NotNull com.s3auth.hosts.Dynamo dnm)
dnm - The dynamo abstractpublic Host find(@NotNull(message="host name can\'t be NULL")@Pattern(regexp="[a-zA-Z0-9\\-\\.]+",message="invalid host name") String name) throws IOException
find in interface Hostsname - The domain nameIOException - If not found or some other IO problempublic Set<Domain> domains(@NotNull User user) throws IOException
domains in interface Hostsuser - The userIOException - If some error insidepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2012 s3auth.com. All Rights Reserved.