org.neo4j.ext.udc.impl
Class UdcExtensionImpl

java.lang.Object
  extended by org.neo4j.helpers.Service
      extended by org.neo4j.kernel.KernelExtension<UdcTimerTask>
          extended by org.neo4j.ext.udc.impl.UdcExtensionImpl
All Implemented Interfaces:
UdcProperties

public class UdcExtensionImpl
extends KernelExtension<UdcTimerTask>
implements UdcProperties

Kernel extension for UDC, the Usage Data Collector. The UDC runs as a background daemon, waking up once a day to collect basic usage information about a long running graph database.

The first update is delayed to avoid needless activity during integration testing and short-run applications. Subsequent updates are made at regular intervals. Both times are specified in milliseconds.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.helpers.Service
Service.CaseInsensitiveService, Service.Implementation
 
Field Summary
static String UDC_SOURCE_DISTRIBUTION_KEY
           
 
Fields inherited from interface org.neo4j.ext.udc.UdcProperties
FIRST_DELAY_CONFIG_KEY, INTERVAL_CONFIG_KEY, UDC_DISABLE_KEY, UDC_HOST_ADDRESS_KEY, UDC_SOURCE_KEY
 
Constructor Summary
UdcExtensionImpl()
          No-arg constructor, sets the extension key to "kernel udc".
 
Method Summary
protected  UdcTimerTask load(KernelData kernel)
          Load this extension for a particular Neo4j Kernel.
protected  void unload(UdcTimerTask task)
           
 
Methods inherited from class org.neo4j.kernel.KernelExtension
agentArgument, agentLoad, agentVisit, equals, getState, hashCode, isLoaded, loadAgent, loadAgent, loadConfiguration
 
Methods inherited from class org.neo4j.helpers.Service
load, load, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UDC_SOURCE_DISTRIBUTION_KEY

public static final String UDC_SOURCE_DISTRIBUTION_KEY
See Also:
Constant Field Values
Constructor Detail

UdcExtensionImpl

public UdcExtensionImpl()
No-arg constructor, sets the extension key to "kernel udc".

Method Detail

load

protected UdcTimerTask load(KernelData kernel)
Description copied from class: KernelExtension
Load this extension for a particular Neo4j Kernel.

Specified by:
load in class KernelExtension<UdcTimerTask>

unload

protected void unload(UdcTimerTask task)
Overrides:
unload in class KernelExtension<UdcTimerTask>


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.