org.terracotta.management.entity
Interface ManagementAgent


public interface ManagementAgent

Author:
Mathieu Carbou

Method Summary
 Future<Void> exposeManagementMetadata(Object clientDescriptor, ContextContainer contextContainer, Capability[] capabilities)
          Exposes this management registry output (context container and capabilities) over this connection.
 Future<Void> exposeTags(Object clientDescriptor, String... tags)
          Exposes client tags
 Future<ClientIdentifier> getClientIdentifier(Object clientDescriptor)
          Gets the ClientIdentifier for the underlying logical connection.
 

Method Detail

exposeManagementMetadata

Future<Void> exposeManagementMetadata(Object clientDescriptor,
                                      ContextContainer contextContainer,
                                      Capability[] capabilities)
Exposes this management registry output (context container and capabilities) over this connection.

Parameters:
contextContainer - output from Management registry
capabilities - output from Management registry
clientDescriptor - must be null, used only for implementation

exposeTags

Future<Void> exposeTags(Object clientDescriptor,
                        String... tags)
Exposes client tags

Parameters:
clientDescriptor - must be null, used only for implementation
tags - the tags to expose for this client

getClientIdentifier

Future<ClientIdentifier> getClientIdentifier(Object clientDescriptor)
Gets the ClientIdentifier for the underlying logical connection.

Parameters:
clientDescriptor - must be null, used only for implementation


Copyright © 2016. All Rights Reserved.