com.bigdata.service.jini.util
Class DumpFederation.ServiceMetadata

java.lang.Object
  extended by com.bigdata.service.jini.util.DumpFederation.ServiceMetadata
Enclosing class:
DumpFederation

public static class DumpFederation.ServiceMetadata
extends Object

Service metadata extracted by DumpFederation.

Version:
$Id$
Author:
Bryan Thompson

Constructor Summary
DumpFederation.ServiceMetadata(UUID uuid, String hostname, String name, int code)
           
 
Method Summary
 int getCode()
          A one-up code assigned to the service that is stable for the life of the JVM.
 String getHostname()
          The hostname of the machine on which the service is running.
 String getName()
          The service name.
static DumpFederation.ServiceMetadata getServiceMetadata(JiniFederation<?> fed, UUID uuid)
          Extract some useful metadata for an IDataService.
 UUID getUUID()
          The service UUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpFederation.ServiceMetadata

public DumpFederation.ServiceMetadata(UUID uuid,
                                      String hostname,
                                      String name,
                                      int code)
Method Detail

getServiceMetadata

public static DumpFederation.ServiceMetadata getServiceMetadata(JiniFederation<?> fed,
                                                                UUID uuid)
Extract some useful metadata for an IDataService.


getUUID

public UUID getUUID()
The service UUID.


getHostname

public String getHostname()
The hostname of the machine on which the service is running.


getName

public String getName()
The service name.


getCode

public int getCode()
A one-up code assigned to the service that is stable for the life of the JVM. This may be used as a short label for the service that is easy to correlate.



Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.