cascading.management
Class CascadingServices

java.lang.Object
  extended by cascading.management.CascadingServices

public class CascadingServices
extends java.lang.Object

Class CascadingServices is the root class for pluggable services Cascading can call out to for distributed monitoring and management systems.

Be default all services will be loaded from the jar DEFAULT_PROPERTIES resource is found in. If the property CONTAINER_ENABLED value is false, a ClassLoader container will not be created.

For this to work, all service implementation and dependencies must be archived into a single jar.

If any packages in the jar should be excluded, set a comma delimited list of names via the CONTAINER_EXCLUDE property.

See Also:
CascadingService

Nested Class Summary
static class CascadingServices.NullDocumentService
          Class NullDocumentService provides a null implementation.
static class CascadingServices.NullMetricsService
          Class NullMetricsService provides a null implementation.
 
Field Summary
static java.lang.String CONTAINER_ENABLED
           
static java.lang.String CONTAINER_EXCLUDE
           
static java.lang.String DEFAULT_PROPERTIES
           
 
Constructor Summary
CascadingServices(java.util.Map<java.lang.Object,java.lang.Object> properties)
           
 
Method Summary
 ClientState createClientState(java.lang.String id)
           
protected  DocumentService createDocumentService()
           
protected  MetricsService createMetricsService()
           
 DocumentService getDocumentService()
           
 MetricsService getMetricsService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROPERTIES

public static final java.lang.String DEFAULT_PROPERTIES
See Also:
Constant Field Values

CONTAINER_ENABLED

public static final java.lang.String CONTAINER_ENABLED
See Also:
Constant Field Values

CONTAINER_EXCLUDE

public static final java.lang.String CONTAINER_EXCLUDE
See Also:
Constant Field Values
Constructor Detail

CascadingServices

public CascadingServices(java.util.Map<java.lang.Object,java.lang.Object> properties)
Method Detail

getMetricsService

public MetricsService getMetricsService()

getDocumentService

public DocumentService getDocumentService()

createClientState

public ClientState createClientState(java.lang.String id)

createMetricsService

protected MetricsService createMetricsService()

createDocumentService

protected DocumentService createDocumentService()


Copyright © 2007-2011 Concurrent, Inc. All Rights Reserved.