A B C D E F G H I J L M N O P Q R S T U V W

A

acquire() - Method in class org.opennms.core.concurrent.QuantumSemaphore
Returns a true value if the semaphore is successfully acquired by the application.
add(T) - Method in interface org.opennms.core.queue.FifoQueue
Inserts a new element into the queue.
add(T, long) - Method in interface org.opennms.core.queue.FifoQueue
Inserts a new element into the queue.
add(T) - Method in class org.opennms.core.queue.FifoQueueImpl
Inserts a new element into the queue.
add(T, long) - Method in class org.opennms.core.queue.FifoQueueImpl
Inserts a new element into the queue.
add(int) - Method in class org.opennms.core.utils.IntSet
 
add(E) - Method in class org.opennms.core.utils.JdbcSet
 
add(E) - Method in class org.opennms.core.utils.LazyList
 
add(int, E) - Method in class org.opennms.core.utils.LazyList
 
addAll(IntSet) - Method in class org.opennms.core.utils.IntSet
 
addAll(Collection<? extends E>) - Method in class org.opennms.core.utils.LazyList
 
addAll(int, Collection<? extends E>) - Method in class org.opennms.core.utils.LazyList
 
addAll(Collection<? extends E>) - Method in class org.opennms.core.utils.LazySet
 
addCompletionListener(RunnableConsumerThreadPool.RunnableCompletionListener) - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Adds a listener that is notified upon completion of each runnable.
addErrorListener(RunnableConsumerThreadPool.RunnableErrorListener) - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Adds a listener that is notified of error from any runnable.
addInputListener(InputFifoQueueListener) - Method in interface org.opennms.core.queue.NotifiableInputFifoQueue
Adds a new listener to the notifiable queue.
addOutputListener(OutputFifoQueueListener) - Method in interface org.opennms.core.queue.NotifiableOutputFifoQueue
Adds a new listener to the notifiable queue.
AlphaNumeric - Class in org.opennms.core.utils
Convenience classes for parsing and manipulating Strings.
AlphaNumeric() - Constructor for class org.opennms.core.utils.AlphaNumeric
 
Argument - Class in org.opennms.core.utils
This is a data class to store the argument information for a Command
Argument(String, String, String, boolean) - Constructor for class org.opennms.core.utils.Argument
Default constructor, initializes the members
average(List<Number>) - Static method in class org.opennms.core.utils.CollectionMath
Get the average of the contents of a List of Number values, excluding null entries
average(List<BigDecimal>) - Static method in class org.opennms.core.utils.CollectionMath
Get the average of the contents of a List of BigDecimal values, excluding null entries

B

BarrierSignaler - Class in org.opennms.core.concurrent
The Signaler interface was designed to get around the problem of not being able to extend the functionality of the Object.notify and Object.notifyAll methods.
BarrierSignaler(int) - Constructor for class org.opennms.core.concurrent.BarrierSignaler
Constructs a new barrier signaler.
Base64 - Class in org.opennms.core.utils
Performs base 64 encoding and decoding on byte arrays.
BeanUtils - Class in org.opennms.core.utils
Helper methods for working with Spring beans.
BoundedFifoQueue - Interface in org.opennms.core.queue
This interface is used to define a queue with First In, First Out semantics that has a maximum input size.
BundleLists - Class in org.opennms.core.utils
Contains utility functions for handling with bundle lists, that is, a comma-delimited list of strings that are contained as one line in a Java properties file.
BundleLists() - Constructor for class org.opennms.core.utils.BundleLists
 

C

clear() - Method in class org.opennms.core.utils.IntSet
 
clear() - Method in class org.opennms.core.utils.LazyList
 
clear() - Method in class org.opennms.core.utils.LazySet
 
clear() - Method in class org.opennms.core.utils.PropertiesCache
 
ClosableFifoQueue<T> - Interface in org.opennms.core.queue
This interface defines a FIFO queue that can be open and closed to control the addition of elements to the queue.
close() - Method in interface org.opennms.core.queue.ClosableFifoQueue
Closes a currently open queue.
CollectionMath - Class in org.opennms.core.utils
 
CollectionMath() - Constructor for class org.opennms.core.utils.CollectionMath
 
contains(int) - Method in class org.opennms.core.utils.IntSet
 
contains(Object) - Method in class org.opennms.core.utils.LazyList
 
contains(Object) - Method in class org.opennms.core.utils.LazySet
 
containsAll(IntSet) - Method in class org.opennms.core.utils.IntSet
 
containsAll(Collection<?>) - Method in class org.opennms.core.utils.LazyList
 
containsAll(Collection<?>) - Method in class org.opennms.core.utils.LazySet
 
convertToLong(byte[]) - Static method in class org.opennms.core.utils.IPSorter
The convertToLong method takes an array of bytes and shifts them into a long value.
convertToLong(String) - Static method in class org.opennms.core.utils.IPSorter
This method is used to convert a dotted decimal IP address composed of four octets into a long value.
convertToMillis(String) - Static method in class org.opennms.core.utils.TimeConverter
Converts the passed time string to a time value that is measured in milliseconds.
countNotNull(List) - Static method in class org.opennms.core.utils.CollectionMath
Get the number of non-null entries in a List
countNull(List) - Static method in class org.opennms.core.utils.CollectionMath
Get the number of null entries in a List
createBundleList(Object[]) - Static method in class org.opennms.core.utils.BundleLists
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter
createBundleList(Object[], String) - Static method in class org.opennms.core.utils.BundleLists
Parses a Object array and puts them into a array of substrings, using a comma as a delimiter
createCommandArray(String, char) - Static method in class org.opennms.core.utils.StringUtils
Convenience method for creating arrays of strings suitable for use as command-line parameters when executing an external process.

D

DbConnectionFactory - Interface in org.opennms.core.resource.db
A DbConnectionFactory allocates and deallocates connections from a database.
dbConnectionFactory - Static variable in class org.opennms.core.resource.Vault
A delegate object that encapsulates the JDBC database connection allocation management.
decodeBase64(char[]) - Static method in class org.opennms.core.utils.Base64
Decodes a character array into the corresponding byte array.
DEFAULT_POST_BUFFER_SIZE - Static variable in class org.opennms.core.utils.HttpUtils
Default buffer size for reading data.
DefaultTimeKeeper - Class in org.opennms.core.utils
 
DefaultTimeKeeper() - Constructor for class org.opennms.core.utils.DefaultTimeKeeper
 
destroy() - Method in interface org.opennms.core.fiber.InitializableFiber
This method is used to stop a currently running Fiber.
destroy() - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Deallocate all the resources that may have been allocated to this database connection factory.
destroy() - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Clear all database URL and credential information so no more connections can be requested.

E

encodeBase64(byte[]) - Static method in class org.opennms.core.utils.Base64
Encodes the passed byte array using the base64 rules.
exec(String[]) - Method in class org.opennms.core.utils.ProcessExec
 
ExtendedStatusFiber - Interface in org.opennms.core.fiber
This interface defines an extension to the Fiberclass for getting extended status information.

F

Fiber - Interface in org.opennms.core.fiber
The Fiber interface is similar to the core Java language Threadclass.
FifoQueue<T> - Interface in org.opennms.core.queue
This interface defines a queue that uses F irst In, F irst O ut semantics when adding and removing objects.
FifoQueueClosedException - Exception in org.opennms.core.queue
This exception is used to represent an error condition where an attempt is made to add an element to a closed queue.
FifoQueueClosedException() - Constructor for exception org.opennms.core.queue.FifoQueueClosedException
Constructs a default instance of the excpetion.
FifoQueueClosedException(String) - Constructor for exception org.opennms.core.queue.FifoQueueClosedException
Constructs a new exception with the passed explination.
FifoQueueException - Exception in org.opennms.core.queue
The root of all exceptions dealing with queues that implement the FifoQueueinterface.
FifoQueueException() - Constructor for exception org.opennms.core.queue.FifoQueueException
Constructs a default instance of the exception with no message.
FifoQueueException(String) - Constructor for exception org.opennms.core.queue.FifoQueueException
Constructs a new instace of the exception with the specific message.
FifoQueueImpl<T> - Class in org.opennms.core.queue
This interface defines a queue that uses F irst In, F irst O ut semantics when adding and removing objects.
FifoQueueImpl() - Constructor for class org.opennms.core.queue.FifoQueueImpl
Constructs a new First In, First Out queue that can be used to exchange data.
findProperties(File) - Method in class org.opennms.core.utils.PropertiesCache
 

G

get(int) - Method in class org.opennms.core.utils.LazyList
 
getAdded() - Method in class org.opennms.core.utils.JdbcSet
 
getBean(BeanFactoryReference, String, Class<T>) - Static method in class org.opennms.core.utils.BeanUtils
Get a Spring bean by name.
getBean(String, String, Class<T>) - Static method in class org.opennms.core.utils.BeanUtils
Helper method that combines getBeanFactory and getBean.
getBeanFactory(String) - Static method in class org.opennms.core.utils.BeanUtils
Get a Spring BeanFactory by context ID.
getConnection() - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Retrieve a connection from the given database connection pool.
getConnection() - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Create a new connection for the given database URL.
getCurrentDate() - Method in class org.opennms.core.utils.DefaultTimeKeeper
 
getCurrentDate() - Method in interface org.opennms.core.utils.TimeKeeper
 
getCurrentTime() - Method in class org.opennms.core.utils.DefaultTimeKeeper
 
getCurrentTime() - Method in interface org.opennms.core.utils.TimeKeeper
 
getDbConnection() - Static method in class org.opennms.core.resource.Vault
Retrieve a database connection from the database connection factory.
getExtendedStatus() - Method in interface org.opennms.core.fiber.ExtendedStatusFiber
Returns the extended status information for the implementation.
getFactory(String, Class<T>) - Static method in class org.opennms.core.utils.BeanUtils
Helper method that calls getBeanFactory(contextId).getFactory() and casts the result.
getHomeDir() - Static method in class org.opennms.core.resource.Vault
Get the directory that holds the OpenNMS configuration files.
getHumanReadableIfSpeed(long) - Static method in class org.opennms.core.utils.SIUtils
Method used to convert an integer bits-per-second value and a more commonly recognized abbreviation for network interface speeds.
getInstance(Class) - Static method in class org.opennms.core.utils.ThreadCategory
This method is used to get the category instance associated with the thread.
getInstance(String) - Static method in class org.opennms.core.utils.ThreadCategory
This method is used to get the category instance associated with the thread.
getInstance() - Static method in class org.opennms.core.utils.ThreadCategory
This method is used to get the category instance associated with the thread.
getLowestInetAddress(InetAddress[]) - Static method in class org.opennms.core.utils.IPSorter
Given a list of IP addresses, return the lowest as determined by the numeric representation and not the alphanumeric string.
getLowestInetAddress(List<InetAddress>) - Static method in class org.opennms.core.utils.IPSorter
Given a list of IP addresses, return the lowest as determined by the numeric representation and not the alphanumeric string.
getMaxValue() - Method in class org.opennms.core.concurrent.QuantumSemaphore
Returns the maximum value of the QuantumSemaphore.
getName() - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Returns the name of the thread pool.
getName() - Method in class org.opennms.core.concurrent.VMTaskFiber
Returns the name for the virtual machine task.
getName() - Method in interface org.opennms.core.fiber.Fiber
This method is used to return the name of the Fiber.
getPrefix() - Static method in class org.opennms.core.utils.ThreadCategory
This is used to retreive the current prefix as it has been inhereited by the calling thread.
getProperties() - Static method in class org.opennms.core.resource.Vault
Return the entire set of application configuration properties.
getProperties(File) - Method in class org.opennms.core.utils.PropertiesCache
Get the current properties object from the cache loading it in memory
getProperty(String) - Static method in class org.opennms.core.resource.Vault
Return property from the configuration parameter list.
getProperty(File, String) - Method in class org.opennms.core.utils.PropertiesCache
 
getRemaining() - Method in class org.opennms.core.utils.JdbcSet
 
getRemoved() - Method in class org.opennms.core.utils.JdbcSet
 
getRunQueue() - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Returns the input queue where Runnableobjects are enqueued.
getStatus() - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Returns the current status of the fiber.
getStatus() - Method in class org.opennms.core.concurrent.VMTaskFiber
Returns the current status of the fiber.
getStatus() - Method in interface org.opennms.core.fiber.Fiber
This method is used to get the current status of the Fiber.
getSubstitution() - Method in class org.opennms.core.utils.Argument
Returns the substitution switch
getSwitch() - Method in class org.opennms.core.utils.Argument
Returns the switch
getSymbolValue(String) - Method in class org.opennms.core.utils.MatchTable
 
getSymbolValue(String) - Method in interface org.opennms.core.utils.PropertiesUtils.SymbolTable
 
getValue() - Method in class org.opennms.core.utils.Argument
Returns the value of the argument

H

hasNext() - Method in class org.opennms.core.utils.IteratorIterator
 
homeDir - Static variable in class org.opennms.core.resource.Vault
Stores the directory where the OpenNMS configuration files can be found.
HttpUtils - Class in org.opennms.core.utils
Provides convenience methods for use the HTTP POST method.

I

indexOf(Object) - Method in class org.opennms.core.utils.LazyList
 
init() - Method in interface org.opennms.core.fiber.InitializableFiber
This method is used to start the initilization process of the Fiber, which should eventually transition to a RUNNING status.
init(String, String) - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Initialize a database factory with the given URL and driver classname.
init(String, String, String, String) - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Initialize a database factory with the given URL, driver classname, and database credentials.
init(String, String, Properties) - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Initialize a database factory with the given URL, driver classname, and database properties.
init(String, String) - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Initialize a new database pool.
init(String, String, String, String) - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Initialize a new database pool with the given database username and password.
init(String, String, Properties) - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Initialize a new database pool with the given database properties.
InitializableFiber - Interface in org.opennms.core.fiber
This class is used to extend the Fiber interface so that is has a concept of a life cycle.
InputFifoQueueListener - Interface in org.opennms.core.queue
This interface is implemented by objects that need to be notified when a new element is added to a queue.
IntSet - Class in org.opennms.core.utils
Provides set functionality for ints.
IntSet() - Constructor for class org.opennms.core.utils.IntSet
 
IpListFromUrl - Class in org.opennms.core.utils
Convenience class for generating a list of IP addresses from a file URL.
IpListFromUrl() - Constructor for class org.opennms.core.utils.IpListFromUrl
 
IPSorter - Class in org.opennms.core.utils
Convenience class for retrieving the lowest, highest IP address in a given list.
IPSorter() - Constructor for class org.opennms.core.utils.IPSorter
 
isClosed() - Method in interface org.opennms.core.queue.ClosableFifoQueue
Returns true if the queue is currently closed.
isEmpty() - Method in interface org.opennms.core.queue.FifoQueue
Used to test if the current queue has no stored elements.
isEmpty() - Method in class org.opennms.core.queue.FifoQueueImpl
Used to test if the current queue has no stored elements.
isEmpty() - Method in class org.opennms.core.utils.IntSet
 
isEmpty() - Method in class org.opennms.core.utils.LazyList
 
isEmpty() - Method in class org.opennms.core.utils.LazySet
 
isFull() - Method in interface org.opennms.core.queue.BoundedFifoQueue
Returns true if the queue has reached the maximum number of elements it can hold.
isLoaded() - Method in class org.opennms.core.utils.LazyList
 
isLoaded() - Method in class org.opennms.core.utils.LazySet
 
isOpen() - Method in interface org.opennms.core.queue.ClosableFifoQueue
Returns true if the queue is currently open.
isStreamed() - Method in class org.opennms.core.utils.Argument
Returns the boolean indicating if this argument should be sent to an input stream.
iterator() - Method in class org.opennms.core.utils.IntSet
 
iterator() - Method in class org.opennms.core.utils.JdbcSet
 
iterator() - Method in class org.opennms.core.utils.LazyList
 
iterator() - Method in class org.opennms.core.utils.LazySet
 
IteratorIterator<T> - Class in org.opennms.core.utils
 
IteratorIterator(Iterator<T>...) - Constructor for class org.opennms.core.utils.IteratorIterator
 
IteratorIterator(List<Iterator<T>>) - Constructor for class org.opennms.core.utils.IteratorIterator
 

J

JdbcSet<E> - Class in org.opennms.core.utils
 
JdbcSet(Collection<E>) - Constructor for class org.opennms.core.utils.JdbcSet
 
JdbcSet() - Constructor for class org.opennms.core.utils.JdbcSet
 
JdbcSet.JdbcSetIterator - Class in org.opennms.core.utils
 
JdbcSet.JdbcSetIterator(Iterator<E>, Iterator<E>) - Constructor for class org.opennms.core.utils.JdbcSet.JdbcSetIterator
 

L

lastIndexOf(Object) - Method in class org.opennms.core.utils.LazyList
 
LazyList<E> - Class in org.opennms.core.utils
 
LazyList(LazyList.Loader<E>) - Constructor for class org.opennms.core.utils.LazyList
 
LazyList.Loader<E> - Interface in org.opennms.core.utils
 
LazySet<E> - Class in org.opennms.core.utils
 
LazySet(LazySet.Loader<E>) - Constructor for class org.opennms.core.utils.LazySet
 
LazySet.Loader<E> - Interface in org.opennms.core.utils
 
listIterator() - Method in class org.opennms.core.utils.LazyList
 
listIterator(int) - Method in class org.opennms.core.utils.LazyList
 
load() - Method in interface org.opennms.core.utils.LazyList.Loader
 
load() - Method in interface org.opennms.core.utils.LazySet.Loader
 

M

MatchTable - Class in org.opennms.core.utils
 
MatchTable(Matcher) - Constructor for class org.opennms.core.utils.MatchTable
 
maxSize() - Method in interface org.opennms.core.queue.BoundedFifoQueue
Returns the maximum number of elements that can be contained in the FIFO queue.
median(List<Number>) - Static method in class org.opennms.core.utils.CollectionMath
Get the median of the contents of a List of Number values, excluding null entries
median(List<BigDecimal>) - Static method in class org.opennms.core.utils.CollectionMath
Get the median of the contents of a List of BigDecimal values, excluding null entries

N

next() - Method in class org.opennms.core.utils.IteratorIterator
 
next() - Method in class org.opennms.core.utils.JdbcSet.JdbcSetIterator
 
NotifiableInputFifoQueue - Interface in org.opennms.core.queue
This interface is implemented by FIFO queue implementations that can notify interested listener when elements are added to the queue.
NotifiableOutputFifoQueue - Interface in org.opennms.core.queue
This interface is implemented by FIFO queue implementations that can notify interested listener when elements are removed from the queue.

O

onQueueInput(NotifiableInputFifoQueue) - Method in interface org.opennms.core.queue.InputFifoQueueListener
This method is invoked by a queue implementation when a new element is added its queue.
onQueueOutput(NotifiableOutputFifoQueue) - Method in interface org.opennms.core.queue.OutputFifoQueueListener
This method is invoked by a queuewhen an element has been removed from the queue.
onRunnableCompletion(Runnable) - Method in interface org.opennms.core.concurrent.RunnableConsumerThreadPool.RunnableCompletionListener
This method is invoked when a java.lang.RunnableRunnable complete.
onRunnableError(Runnable, Throwable) - Method in interface org.opennms.core.concurrent.RunnableConsumerThreadPool.RunnableErrorListener
This method is invoked when a java.lang.RunnableRunnable fails with an exception.
open() - Method in interface org.opennms.core.queue.ClosableFifoQueue
Ensures that the queue is open and new elements can be added to the queue.
org.opennms.core.concurrent - package org.opennms.core.concurrent
TODO: add package overview sentence here.
org.opennms.core.fiber - package org.opennms.core.fiber
TODO: add package overview sentence here.
org.opennms.core.queue - package org.opennms.core.queue
TODO: add package overview sentence here.
org.opennms.core.resource - package org.opennms.core.resource
TODO: add package overview sentence here.
org.opennms.core.resource.db - package org.opennms.core.resource.db
TODO: add package overview sentence here.
org.opennms.core.utils - package org.opennms.core.utils
TODO: add package overview sentence here.
OutputFifoQueueListener - Interface in org.opennms.core.queue
This interface is implemented by objects that need to be notified when a new element is removed from a queue.

P

parse(String) - Static method in class org.opennms.core.utils.IpListFromUrl
This method is used to read all interfaces from an URL file.
parseAndReplace(String, char) - Static method in class org.opennms.core.utils.AlphaNumeric
Any character in the passed string which does not match one of the following values is replaced by the specified replacement character.
parseAndReplaceExcept(String, char, String) - Static method in class org.opennms.core.utils.AlphaNumeric
Any character in the passed string which does not match one of the following values is replaced by the specified replacement character, unless it is contained in the exception string.
parseAndTrim(String) - Static method in class org.opennms.core.utils.AlphaNumeric
Any character in the passed string which does not match one of the following values is replaced by an Ascii space and then trimmed from the resulting string.
parseBundleList(String) - Static method in class org.opennms.core.utils.BundleLists
Parses a string into an array of substrings, using a comma as a delimiter and trimming whitespace.
parseBundleList(String, String) - Static method in class org.opennms.core.utils.BundleLists
Parses a string into an array of substrings, using the specified delimeter and trimming whitespace.
password - Variable in class org.opennms.core.resource.db.SimpleDbConnectionFactory
 
PausableFiber - Interface in org.opennms.core.fiber
This interface defines an extension to the core Fiberinterface and adds the methods for pausing and resuming an executable context.
pause() - Method in interface org.opennms.core.fiber.PausableFiber
This method is used to suspend a currently running Fiber.
PAUSE_PENDING - Static variable in interface org.opennms.core.fiber.PausableFiber
This state is used to define when a Fiber has begun the process of pausing its operations.
PAUSED - Static variable in interface org.opennms.core.fiber.PausableFiber
This state is used to denote a paused, or otherwise suspended Fiber.
percentNotNull(List<Number>) - Static method in class org.opennms.core.utils.CollectionMath
Get the percentage of not-null entries in a List of Number values
percentNotNull(List<BigDecimal>) - Static method in class org.opennms.core.utils.CollectionMath
Get the percentage of not-null entries in a List of BigDecimal values
percentNull(List<Number>) - Static method in class org.opennms.core.utils.CollectionMath
Get the percentage of null entries in a List of Number values
percentNull(List<BigDecimal>) - Static method in class org.opennms.core.utils.CollectionMath
Get the percentage of null entries in a List of BigDecimal values
post(URL, InputStream) - Static method in class org.opennms.core.utils.HttpUtils
Post a given InputStream s data to a URL.
post(URL, InputStream, String, String) - Static method in class org.opennms.core.utils.HttpUtils
Post a given InputStream s data to a URL using BASIC authentication and the given username and password.
post(URL, InputStream, String, String, int) - Static method in class org.opennms.core.utils.HttpUtils
Post a given InputStream s data to a URL using BASIC authentication, the given username and password, and a buffer size.
post(URL, Reader, String, String, int) - Static method in class org.opennms.core.utils.HttpUtils
Post a given Reader s data to a URL using BASIC authentication, the given username and password, and a buffer size.
ProcessExec - Class in org.opennms.core.utils
 
ProcessExec(PrintStream, PrintStream) - Constructor for class org.opennms.core.utils.ProcessExec
 
ProcessExec.PrintInputStream - Class in org.opennms.core.utils
 
ProcessExec.PrintInputStream(InputStream, PrintStream) - Constructor for class org.opennms.core.utils.ProcessExec.PrintInputStream
 
properties - Variable in class org.opennms.core.resource.db.SimpleDbConnectionFactory
 
properties - Static variable in class org.opennms.core.resource.Vault
Holds all the application configuration properties.
PropertiesCache - Class in org.opennms.core.utils
Caches properties files in order to improve performance.
PropertiesCache() - Constructor for class org.opennms.core.utils.PropertiesCache
 
PropertiesUtils - Class in org.opennms.core.utils
 
PropertiesUtils() - Constructor for class org.opennms.core.utils.PropertiesUtils
 
PropertiesUtils.SymbolTable - Interface in org.opennms.core.utils
 

Q

QuantumSemaphore - Class in org.opennms.core.concurrent
QuantumSemaphore class is similar to a semaphore, but slightly different.
QuantumSemaphore(long, long) - Constructor for class org.opennms.core.concurrent.QuantumSemaphore
Constructs a new QuantumSempahore object with the specified maximum value and time quantum.

R

releaseConnection(Connection) - Method in interface org.opennms.core.resource.db.DbConnectionFactory
Replace a database connection back in the pool of available connections for its parent pool.
releaseConnection(Connection) - Method in class org.opennms.core.resource.db.SimpleDbConnectionFactory
Close the given connection.
releaseDbConnection(Connection) - Static method in class org.opennms.core.resource.Vault
Replace a database connection from the database connection factory.
remove() - Method in interface org.opennms.core.queue.FifoQueue
Removes the oldest element from the queue.
remove(long) - Method in interface org.opennms.core.queue.FifoQueue
Removes the next element from the queue if one becomes available before the timeout expires.
remove() - Method in class org.opennms.core.queue.FifoQueueImpl
Removes the oldest element from the queue.
remove(long) - Method in class org.opennms.core.queue.FifoQueueImpl
Removes the next element from the queue if one becomes available before the timeout expires.
remove(int) - Method in class org.opennms.core.utils.IntSet
 
remove() - Method in class org.opennms.core.utils.IteratorIterator
 
remove() - Method in class org.opennms.core.utils.JdbcSet.JdbcSetIterator
 
remove(Object) - Method in class org.opennms.core.utils.LazyList
 
remove(int) - Method in class org.opennms.core.utils.LazyList
 
remove(Object) - Method in class org.opennms.core.utils.LazySet
 
removeAll(IntSet) - Method in class org.opennms.core.utils.IntSet
 
removeAll(Collection<?>) - Method in class org.opennms.core.utils.LazyList
 
removeAll(Collection<?>) - Method in class org.opennms.core.utils.LazySet
 
removeCompletionListener(RunnableConsumerThreadPool.RunnableCompletionListener) - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Removes a previous register listener.
removeErrorListener(RunnableConsumerThreadPool.RunnableErrorListener) - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Removes a previous register listener.
removeInputListener(InputFifoQueueListener) - Method in interface org.opennms.core.queue.NotifiableInputFifoQueue
Removes an already registered listener.
removeOutputListener(OutputFifoQueueListener) - Method in interface org.opennms.core.queue.NotifiableOutputFifoQueue
Removes an already registered listener.
reset() - Method in class org.opennms.core.utils.JdbcSet
 
resume() - Method in interface org.opennms.core.fiber.PausableFiber
This method is used to resume a suspeneded Fiber.
RESUME_PENDING - Static variable in interface org.opennms.core.fiber.PausableFiber
This state is used to denote a Fiber recovering from a paused state to a running status.
retainAll(IntSet) - Method in class org.opennms.core.utils.IntSet
 
retainAll(Collection<?>) - Method in class org.opennms.core.utils.LazyList
 
retainAll(Collection<?>) - Method in class org.opennms.core.utils.LazySet
 
run() - Method in class org.opennms.core.concurrent.VMTaskFiber
This method invokes the entry method on the main class.
run() - Method in class org.opennms.core.utils.ProcessExec.PrintInputStream
 
RunnableConsumerThreadPool - Class in org.opennms.core.concurrent
 
RunnableConsumerThreadPool(String, float, float, int) - Constructor for class org.opennms.core.concurrent.RunnableConsumerThreadPool
Constructs a new instance of the thread pool class.
RunnableConsumerThreadPool.RunnableCompletionListener - Interface in org.opennms.core.concurrent
This interface is used to define a listener for the thread pool that is notified when an enqueued runnable completes.
RunnableConsumerThreadPool.RunnableErrorListener - Interface in org.opennms.core.concurrent
This interface is used to define a listerer for the thread pool that is notified if an error occurs processing a runnable.
RUNNING - Static variable in interface org.opennms.core.fiber.Fiber
This state is used to define the normal runtime condition of a Fiber.

S

saveProperties(File, Properties) - Method in class org.opennms.core.utils.PropertiesCache
 
set(int, E) - Method in class org.opennms.core.utils.LazyList
 
setDbConnectionFactory(DbConnectionFactory) - Static method in class org.opennms.core.resource.Vault
Set the delegate class for managing JDBC database connection pools.
setElements(Collection<E>) - Method in class org.opennms.core.utils.JdbcSet
 
setHomeDir(String) - Static method in class org.opennms.core.resource.Vault
Set the directory so we will know where we can get the OpenNMS configuration files.
setPrefix(String) - Static method in class org.opennms.core.utils.ThreadCategory
This method is used to set a prefix for the category name that is used for all category instances in this thread.
setProperties(Properties) - Static method in class org.opennms.core.resource.Vault
Set the application configuration properties.
setProperty(File, String, String) - Method in class org.opennms.core.utils.PropertiesCache
 
setStreamed(boolean) - Method in class org.opennms.core.utils.Argument
Sets the boolean indicating if this argument should be sent to an input stream
setSubstitution(String) - Method in class org.opennms.core.utils.Argument
Sets the substitution switch
setSwitch(String) - Method in class org.opennms.core.utils.Argument
Sets the switch member
setValue(String) - Method in class org.opennms.core.utils.Argument
Sets the value of the argument
signal() - Method in class org.opennms.core.concurrent.BarrierSignaler
Provides the functionality of the notify method, but may be overridden by the implementor to provide additional functionality.
signal() - Method in interface org.opennms.core.concurrent.Signaler
Provides the functionality of the notify method, but may be overridden by the implementor to provide additional functionality.
signalAll() - Method in class org.opennms.core.concurrent.BarrierSignaler
Provides the functionality of the notifyAll method, but may be overridden by the implementor to provide additional functionality.
signalAll() - Method in interface org.opennms.core.concurrent.Signaler
Provides the functionality of the notifyAll method, but may be overridden by the implementor to provide additional functionality.
Signaler - Interface in org.opennms.core.concurrent
The Signaler interface was designed to get around the problem of not being able to extend the functionality of the Object.notify and Object.notifyAll methods.
SimpleDbConnectionFactory - Class in org.opennms.core.resource.db
A trivial implementation of DbConnectionFactory that creates a new connection for every request and does no caching or connection sharing.
SimpleDbConnectionFactory() - Constructor for class org.opennms.core.resource.db.SimpleDbConnectionFactory
 
SIUtils - Class in org.opennms.core.utils
Utilities for manipulating values in SI units.
SIUtils() - Constructor for class org.opennms.core.utils.SIUtils
 
size() - Method in interface org.opennms.core.queue.FifoQueue
Returns the current number of elements that are in the queue.
size() - Method in class org.opennms.core.queue.FifoQueueImpl
Returns the current number of elements that are in the queue.
size() - Method in class org.opennms.core.utils.IntSet
 
size() - Method in class org.opennms.core.utils.JdbcSet
 
size() - Method in class org.opennms.core.utils.LazyList
 
size() - Method in class org.opennms.core.utils.LazySet
 
start() - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Starts the thread pool.
start() - Method in class org.opennms.core.concurrent.VMTaskFiber
Starts the current fiber running.
start() - Method in interface org.opennms.core.fiber.Fiber
This method is used to start the initilization process of the Fiber, which should eventually transition to a RUNNING status.
START_PENDING - Static variable in interface org.opennms.core.fiber.Fiber
This is the initial Fiber state.
STARTING - Static variable in interface org.opennms.core.fiber.Fiber
This state is used to define when a Fiber has begun the initilization process.
STATUS_NAMES - Static variable in interface org.opennms.core.fiber.Fiber
The string names that correspond to the states of the fiber.
stop() - Method in class org.opennms.core.concurrent.RunnableConsumerThreadPool
Begins the shutdown process of the thread pool.
stop() - Method in class org.opennms.core.concurrent.VMTaskFiber
Stops the current fiber.
stop() - Method in interface org.opennms.core.fiber.Fiber
This method is used to stop a currently running Fiber.
STOP_PENDING - Static variable in interface org.opennms.core.fiber.Fiber
This state is used to denote when the Fiber is terminating processing.
STOPPED - Static variable in interface org.opennms.core.fiber.Fiber
This state represents the final resting state of a Fiber.
streamToStream(Reader, Writer) - Static method in class org.opennms.core.utils.StreamUtils
Convenience method for reading data from a Reader and then immediately writing that data to a Writer with a default buffer size of one kilobyte (1,024 chars).
streamToStream(Reader, Writer, int) - Static method in class org.opennms.core.utils.StreamUtils
Convenience method for reading data from a Reader and then immediately writing that data to a Writer.
streamToStream(InputStream, OutputStream) - Static method in class org.opennms.core.utils.StreamUtils
Convenience method for reading data from an InputStream and then immediately writing that data to an OutputStream with a default buffer size of one kilobyte (1,024 bytes).
streamToStream(InputStream, OutputStream, int) - Static method in class org.opennms.core.utils.StreamUtils
Convenience method for reading data from an InputStream and then immediately writing that data to an OutputStream.
StreamUtils - Class in org.opennms.core.utils
 
StreamUtils() - Constructor for class org.opennms.core.utils.StreamUtils
 
StringUtils - Class in org.opennms.core.utils
 
StringUtils() - Constructor for class org.opennms.core.utils.StringUtils
 
subList(int, int) - Method in class org.opennms.core.utils.LazyList
 
substitute(String, Properties) - Static method in class org.opennms.core.utils.PropertiesUtils
This recursively substitutes occurrences ${property.name} in initialString with the value of the property property.name taken from the supplied properties object.
substitute(String, PropertiesUtils.SymbolTable) - Static method in class org.opennms.core.utils.PropertiesUtils
 
supplementSystemPropertiesFromKey(String) - Static method in class org.opennms.core.resource.Vault
Adds new keys to the system properties using the passed key name a the properties location instance.

T

ThreadCategory - Class in org.opennms.core.utils
This class is designed to work with log4j based on threads and not class names.
ThreadCategory(String) - Constructor for class org.opennms.core.utils.ThreadCategory
This constructor created a new Category instance and sets its name.
TimeConverter - Class in org.opennms.core.utils
This class contains static functions used to convert time related string values into numeric values to be used in computations.
TimeConverter() - Constructor for class org.opennms.core.utils.TimeConverter
 
TimeKeeper - Interface in org.opennms.core.utils
 
toArray() - Method in class org.opennms.core.utils.IntSet
 
toArray() - Method in class org.opennms.core.utils.LazyList
 
toArray(T[]) - Method in class org.opennms.core.utils.LazyList
 
toArray() - Method in class org.opennms.core.utils.LazySet
 
toArray(T[]) - Method in class org.opennms.core.utils.LazySet
 
tokenizeWithQuotingAndEscapes(String, String, boolean) - Static method in class org.opennms.core.utils.StringUtils
 
tokenizeWithQuotingAndEscapes(String, String, boolean, String) - Static method in class org.opennms.core.utils.StringUtils
Tokenize a String into an array of Strings.
toString() - Method in class org.opennms.core.utils.Argument
Returns a string representation of the argument, for purposes of debugging
toString() - Method in class org.opennms.core.utils.LazyList
 
toString() - Method in class org.opennms.core.utils.LazySet
 
truncate(String, int) - Static method in class org.opennms.core.utils.StringUtils
 

U

updateProperties(File, Map<String, String>) - Method in class org.opennms.core.utils.PropertiesCache
 
url - Variable in class org.opennms.core.resource.db.SimpleDbConnectionFactory
 
username - Variable in class org.opennms.core.resource.db.SimpleDbConnectionFactory
 

V

Vault - Class in org.opennms.core.resource
The Vault handles policies for allocating/deallocating scarce resources and stores application configuration properties.
VMTaskFiber - Class in org.opennms.core.concurrent
 
VMTaskFiber(String, String, String[], URL[]) - Constructor for class org.opennms.core.concurrent.VMTaskFiber
Constructs a new Virtual Macine Task Fiber.

W

waitFor() - Method in class org.opennms.core.concurrent.BarrierSignaler
 
waitFor(long) - Method in class org.opennms.core.concurrent.BarrierSignaler
 

A B C D E F G H I J L M N O P Q R S T U V W

Copyright © 2007. All Rights Reserved.