public interface Namespace extends Service, NamespaceTypes
Namespace
interface provides methods to get information about
command line interface (CLI) namespaces.NamespaceTypes.Identity, NamespaceTypes.Info
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fingerprint()
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
void |
fingerprint(AsyncCallback<java.lang.String> asyncCallback)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
void |
fingerprint(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
java.lang.String |
fingerprint(InvocationConfig invocationConfig)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
NamespaceTypes.Info |
get(NamespaceTypes.Identity identity)
Retreives information about a namespace including information about children of
that namespace.
|
void |
get(NamespaceTypes.Identity identity,
AsyncCallback<NamespaceTypes.Info> asyncCallback)
Retreives information about a namespace including information about children of
that namespace.
|
void |
get(NamespaceTypes.Identity identity,
AsyncCallback<NamespaceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retreives information about a namespace including information about children of
that namespace.
|
NamespaceTypes.Info |
get(NamespaceTypes.Identity identity,
InvocationConfig invocationConfig)
Retreives information about a namespace including information about children of
that namespace.
|
java.util.List<NamespaceTypes.Identity> |
list()
Returns the identifiers of all namespaces registered with the infrastructure.
|
void |
list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback)
Returns the identifiers of all namespaces registered with the infrastructure.
|
void |
list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers of all namespaces registered with the infrastructure.
|
java.util.List<NamespaceTypes.Identity> |
list(InvocationConfig invocationConfig)
Returns the identifiers of all namespaces registered with the infrastructure.
|
java.util.List<NamespaceTypes.Identity> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
java.util.List<NamespaceTypes.Identity> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.void list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Identifiers of all the namespaces.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Identifiers of all the namespaces.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.NamespaceTypes.Info get(NamespaceTypes.Identity identity)
Synchronous method overload. Result of the invocation will be reported as a method return value.
identity
- Identifier of the namespace for which to retreive information.NotFound
- if a namespace corresponding to identity
doesn't exist.NamespaceTypes.Info get(NamespaceTypes.Identity identity, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
identity
- Identifier of the namespace for which to retreive information.invocationConfig
- Configuration for the method invocation.NotFound
- if a namespace corresponding to identity
doesn't exist.void get(NamespaceTypes.Identity identity, AsyncCallback<NamespaceTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Information about the namespace including information about child of that
namespace.
Operation Errors:
NotFound
- if a namespace corresponding to identity
doesn't exist.
identity
- Identifier of the namespace for which to retreive information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(NamespaceTypes.Identity identity, AsyncCallback<NamespaceTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Information about the namespace including information about child of that
namespace.
Operation Errors:
NotFound
- if a namespace corresponding to identity
doesn't exist.
identity
- Identifier of the namespace for which to retreive information.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.lang.String fingerprint()
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Synchronous method overload. Result of the invocation will be reported as a method return value.
java.lang.String fingerprint(InvocationConfig invocationConfig)
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.void fingerprint(AsyncCallback<java.lang.String> asyncCallback)
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Fingerprint of all the namespace metadata present on the server.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void fingerprint(AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Fingerprint of all the namespace metadata present on the server.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.