Package org.apache.hadoop.registry.client.types

This package contains all the data types which can be saved to the registry and/or marshalled to and from JSON.

See:
          Description

Interface Summary
AddressTypes Enum of address types -as integers.
ProtocolTypes some common protocol types
 

Class Summary
Endpoint Description of a single service/component endpoint.
RegistryPathStatus Output of a RegistryOperations.stat() call
ServiceRecord JSON-marshallable description of a single component.
 

Package org.apache.hadoop.registry.client.types Description

This package contains all the data types which can be saved to the registry and/or marshalled to and from JSON.

The core datatypes, ServiceRecord, and Endpoint are what is used to describe services and their protocol endpoints in the registry.

Some adjacent interfaces exist to list attributes of the fields:

The RegistryPathStatus class is not saved to the registry —it is the status of a registry entry that can be retrieved from the API call. It is still designed to be marshalled to and from JSON, as it can be served up from REST front ends to the registry.



Copyright © 2014 Apache Software Foundation. All Rights Reserved.