com.neeve.daemon.config
Class DmnConfigDescriptor

java.lang.Object
  extended by com.neeve.root.RootObject
      extended by com.neeve.daemon.config.DmnConfigDescriptor
All Implemented Interfaces:
IDmnConfigDescriptor
Direct Known Subclasses:
SrvConfigDescriptor

public abstract class DmnConfigDescriptor
extends RootObject
implements IDmnConfigDescriptor

Base implementation of a daemon configuration descriptor.

This class is the base class for all daemon configuration descriptors.

Threading:
This class is safe for concurrent access by multiple threads.

Method Summary
 void setTraceLevel(Tracer.Level level)
          Set the daemon trace level.
 String toString(String prefix, Properties props)
          Return a string representation of the descriptor.
 
Methods inherited from class com.neeve.root.RootObject
getChecked, getThreaded, getTracer, setChecked, setTracer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.neeve.daemon.config.IDmnConfigDescriptor
getGroup, getIOThreadCount, getIOThreadCPUAffinityMask, getIOThreadCPUAffinityMasks, getMaxOnDemandThreadCount, getMemoryReservePct, getName, getVersion, isChecked, isMultiThreaded, isPrintDescriptor, setChecked, setGroup, setIOThreadCount, setIOThreadCPUAffinityMask, setMaxOnDemandThreadCount, setMemoryReservePct, setMultiThreaded, setPrintDescriptor
 

Method Detail

setTraceLevel

public final void setTraceLevel(Tracer.Level level)
Set the daemon trace level.

Parameters:
level - The level to set.
Threading:
This method is safe for concurrent access by multiple threads.

toString

public final String toString(String prefix,
                             Properties props)
Return a string representation of the descriptor.

This method returns a string containing name value pairs of all the daemon configuration properties. This method enumerates all properties in the supplied properties table and returns a string containing all properties that start with the specified prefix

Threading:
This method is safe for concurrent access by multiple threads.


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.