Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
V
W
A
activateObject(Object)
- Method in class oemware.core.pool.
ByteArrayPoolableObjectFactory
activateObject(Object)
- Method in class oemware.core.pool.
ByteBufferPoolableObjectFactory
addShutdownHookThread()
- Static method in class oemware.core.util.
SystemUtils
Add the shutdown hook thread.
afterStart()
- Method in class oemware.core.
ThreadBase
afterStop()
- Method in class oemware.core.
ThreadBase
ANSIColorLayout
- Class in
oemware.core.ext.log4j
ANSIColorLayout is a Log4J Layout that formats messages using ANSI colors.
Each level (DEBUG,INFO,WARN) has its own color that you can customize.
ANSIColorLayout()
- Constructor for class oemware.core.ext.log4j.
ANSIColorLayout
ANSIColorLayout(String)
- Constructor for class oemware.core.ext.log4j.
ANSIColorLayout
appendArray(byte[], byte[])
- Static method in class oemware.core.util.
ByteUtils
Appends the second array to the first array.
B
BaseDao
- Class in
oemware.core.dao
The base dao object.
BaseDao()
- Constructor for class oemware.core.dao.
BaseDao
BaseDao(DataSource)
- Constructor for class oemware.core.dao.
BaseDao
BaseSharedJob
- Class in
oemware.core
The base shared job.
BaseSharedJob()
- Constructor for class oemware.core.
BaseSharedJob
beforeStart()
- Method in class oemware.core.net.
DatagramServer
Bind to the port.
beforeStart()
- Method in class oemware.core.
ThreadBase
beforeStop()
- Method in class oemware.core.
ThreadBase
BIDIRECTIONAL
- Static variable in class oemware.core.
NamedPipe
buffer
- Variable in class oemware.core.net.
DatagramMessage
Choose your poison.
bufferSize
- Variable in class oemware.core.net.
DatagramMessage
ByteArray
- Class in
oemware.core
The byte array object.
ByteArray()
- Constructor for class oemware.core.
ByteArray
Creates an empty byte array.
ByteArray(byte[])
- Constructor for class oemware.core.
ByteArray
Create a new byte array with the data.
ByteArray(byte[], int, int)
- Constructor for class oemware.core.
ByteArray
Create a new byte array with a subset of the byte array.
ByteArrayPoolableObjectFactory
- Class in
oemware.core.pool
The byte buffer object factory.
ByteArrayPoolableObjectFactory(int)
- Constructor for class oemware.core.pool.
ByteArrayPoolableObjectFactory
Construct the object and set the size of the buffer.
ByteBufferPoolableObjectFactory
- Class in
oemware.core.pool
The byte buffer object factory.
ByteBufferPoolableObjectFactory(int)
- Constructor for class oemware.core.pool.
ByteBufferPoolableObjectFactory
Construct the object and set the size of the buffer.
ByteBufferPoolableObjectFactory(int, boolean)
- Constructor for class oemware.core.pool.
ByteBufferPoolableObjectFactory
Construct the object and set the size of the buffer.
ByteNumberUtils
- Class in
oemware.core.util
The byte number utils.
ByteNumberUtils()
- Constructor for class oemware.core.util.
ByteNumberUtils
ByteUtils
- Class in
oemware.core.util
The byte utils.
ByteUtils()
- Constructor for class oemware.core.util.
ByteUtils
C
ChainManager
- Class in
oemware.core.chain
The chain manager.
ChainManager(String, Map<String, String>)
- Constructor for class oemware.core.chain.
ChainManager
Construct a new object with the catalogs passed.
chainsAvailable(Catalog)
- Static method in class oemware.core.util.
ChainUtils
Returns a string of available chains in a catalog.
ChainUtils
- Class in
oemware.core.util
The chain utils.
ChainUtils()
- Constructor for class oemware.core.util.
ChainUtils
checkCanReadOrWrite(File, boolean)
- Static method in class oemware.core.util.
FileUtils
Check to see if a file is readable or writable.
ClasspathUtils
- Class in
oemware.core.util
The classpath utils.
ClasspathUtils()
- Constructor for class oemware.core.util.
ClasspathUtils
clear()
- Method in class oemware.core.util.
LruMap
close(ResultSet, Statement, Connection)
- Method in class oemware.core.dao.
BaseDao
Close the JDBC objects.
close(ResultSet, Statement)
- Method in class oemware.core.dao.
BaseDao
Close the JDBC objects.
close(Statement, Connection)
- Method in class oemware.core.dao.
BaseDao
Close the JDBC objects.
close(ResultSet, Statement, Connection)
- Static method in class oemware.core.dao.
DbTools
Close the JDBC objects.
close(ResultSet, Statement)
- Static method in class oemware.core.dao.
DbTools
Close the JDBC objects.
close(Statement, Connection)
- Static method in class oemware.core.dao.
DbTools
Close the JDBC objects.
closeConnection()
- Method in class oemware.core.dao.
BaseDao
Close the JDBC connection.
closeConnection(Connection)
- Method in class oemware.core.dao.
BaseDao
Close the JDBC connection.
closeConnection(Connection)
- Static method in class oemware.core.dao.
DbTools
Close the connection.
closeFileInputStream(FileInputStream)
- Static method in class oemware.core.util.
FileUtils
Close the input stream.
closeFileInputStreams(List<FileInputStream>)
- Static method in class oemware.core.util.
FileUtils
Close the input streams.
closeFileOutputStream(FileOutputStream)
- Static method in class oemware.core.util.
FileUtils
Close the output stream.
closeResultSet(ResultSet)
- Method in class oemware.core.dao.
BaseDao
Close the result set.
closeResultSet(ResultSet)
- Static method in class oemware.core.dao.
DbTools
Close the result set.
closeStatement(Statement)
- Method in class oemware.core.dao.
BaseDao
Close the statement.
closeStatement(Statement)
- Static method in class oemware.core.dao.
DbTools
Close the statement.
COMMON_UDP_BIND_ADDRESS_PARAM_NAME
- Static variable in interface oemware.core.net.
Constants
COMMON_UDP_BUFFER_SIZE
- Static variable in interface oemware.core.net.
Constants
COMMON_UDP_PORT_PARAM_NAME
- Static variable in interface oemware.core.net.
Constants
Constants
- Interface in
oemware.core.net
The core message ids.
contains(Object)
- Method in class oemware.core.util.
LruList
containsKey(Object)
- Method in class oemware.core.util.
LruMap
containsValue(Object)
- Method in class oemware.core.util.
LruMap
context()
- Static method in class oemware.core.
Kernel
Returns the Spring context object.
convertHttpDate(String)
- Static method in class oemware.core.util.
TimeUtils
Convert the passed date to milliseconds.
copyByteBuffer(ByteBuffer)
- Static method in class oemware.core.util.
ByteUtils
Clone a byte buffer.
CoreException
- Exception in
oemware.core
The core exception.
CoreException()
- Constructor for exception oemware.core.
CoreException
CoreException(String)
- Constructor for exception oemware.core.
CoreException
CoreException(Throwable)
- Constructor for exception oemware.core.
CoreException
CoreException(String, Throwable)
- Constructor for exception oemware.core.
CoreException
CoreMessageId
- Enum in
oemware.core.net
The core message ids.
createContext()
- Static method in class oemware.core.util.
ChainUtils
Returns the standard context object for the system.
createDir(String)
- Static method in class oemware.core.util.
FileUtils
Make sure all the directories are in place for the path.
createFile(String)
- Static method in class oemware.core.util.
FileUtils
Create a new file.
createFileInputStream(String, boolean)
- Static method in class oemware.core.util.
FileUtils
Load a file channel.
createFileName(String, String, String, short, byte, byte, byte, int, int, int)
- Static method in class oemware.core.util.
FileUtils
Returns the file name based on the params.
createInt(int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns a new byte array with the passed value.
createIntB(int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns a new byte array (big endian) with the value.
createUInt(long)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns a new byte array with the passed value.
createUuidFile(String)
- Static method in class oemware.core.util.
FileUtils
Create a new file with a UUID file name.
createUuidFileName(String)
- Static method in class oemware.core.util.
FileUtils
Create a new file with a UUID file name.
currentEpochId()
- Static method in class oemware.core.util.
TimeUtils
Returns the current epoch id.
currentEpochTime()
- Static method in class oemware.core.util.
TimeUtils
Returns the current start time (based on epoch).
currentTimeSecs()
- Static method in class oemware.core.util.
TimeUtils
Returns the current time in seconds.
currentTimeSecs(long)
- Static method in class oemware.core.util.
TimeUtils
Returns the time in seconds for the value passed.
D
DaoException
- Exception in
oemware.core.dao
The dao exception.
DaoException()
- Constructor for exception oemware.core.dao.
DaoException
DaoException(String)
- Constructor for exception oemware.core.dao.
DaoException
DaoException(Throwable)
- Constructor for exception oemware.core.dao.
DaoException
DaoException(String, Throwable)
- Constructor for exception oemware.core.dao.
DaoException
data
- Variable in class oemware.core.
ByteArray
data
- Variable in class oemware.core.net.
DatagramMessage
DatagramMessage
- Class in
oemware.core.net
The datagram message object.
DatagramMessageFilter
- Interface in
oemware.core.net
The message filter interface.
DatagramMessageHandler
- Interface in
oemware.core.net
The message handler interface.
DatagramServer
- Class in
oemware.core.net
The generic datagram server.
DatagramServer(DatagramMessageHandler, DatagramMessageFilter, int, int)
- Constructor for class oemware.core.net.
DatagramServer
Construct a new server with the params.
DatagramServer(DatagramMessageHandler, ServiceConf, int, int, String, String, boolean)
- Constructor for class oemware.core.net.
DatagramServer
Construct a new server with the params.
DatagramServer(DatagramMessageHandler, DatagramMessageFilter, ServiceConf, int, int, String, String, boolean)
- Constructor for class oemware.core.net.
DatagramServer
Construct a new server with the params.
DatagramServer(DatagramMessageHandler, DatagramMessageFilter, int)
- Constructor for class oemware.core.net.
DatagramServer
Construct a new server with the params.
DbTools
- Class in
oemware.core.dao
The db tools object.
DbTools()
- Constructor for class oemware.core.dao.
DbTools
decodeIpV4Addr(int)
- Static method in class oemware.core.util.
NetUtils
Takes an ipv4 address in int format and converts to a string
DEFAULT_COLOR
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_ALL
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_DEBUG
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_ERROR
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_FATAL
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_INFO
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_RESET
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_STACKTRACE
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_COLOR_WARN
- Static variable in class oemware.core.ext.log4j.
ANSIColorLayout
DEFAULT_USER_AGENT
- Static variable in interface oemware.core.
SystemConstants
The default http user agent.
deleteFile(File)
- Static method in class oemware.core.util.
FileUtils
deleteFile(String)
- Static method in class oemware.core.util.
FileUtils
Delete the file.
destroyObject(Object)
- Method in class oemware.core.pool.
ByteArrayPoolableObjectFactory
destroyObject(Object)
- Method in class oemware.core.pool.
ByteBufferPoolableObjectFactory
DIR_DATA_KEY
- Static variable in class oemware.core.
InstanceConf
E
encodeIpV4Addr(String)
- Static method in class oemware.core.util.
NetUtils
This takes a period delimited ip address and converts it to a four byte value.
END_TRANSMIT
- Static variable in class oemware.core.
NamedPipe
entries()
- Method in class oemware.core.util.
LruList
entrySet()
- Method in class oemware.core.util.
LruMap
ENV_NAME_KEY
- Static variable in class oemware.core.
InstanceConf
epochId(int, int)
- Static method in class oemware.core.util.
TimeUtils
Returns the epoch id for the start/stop time.
epochId(int)
- Static method in class oemware.core.util.
TimeUtils
Returns the time period id based on the start and stop time.
epochTime(int)
- Static method in class oemware.core.util.
TimeUtils
Returns the time for the epoch id passed.
equals(Object)
- Method in class oemware.core.
ByteArray
Overrides the default equals to compare the byte array.
equals(Object)
- Method in class oemware.core.util.
LruMap
equals(Double, Double)
- Static method in class oemware.core.util.
NumberUtils
Check to see if doubles are equal (null safe).
equals(Long, Long)
- Static method in class oemware.core.util.
NumberUtils
Check to see if longs are equal (null safe).
equals(Integer, Integer)
- Static method in class oemware.core.util.
NumberUtils
Check to see if ints are equal (null safe).
equals(Short, Short)
- Static method in class oemware.core.util.
NumberUtils
Check to see if the shorts are equal (null safe).
equals(BigInteger, BigInteger)
- Static method in class oemware.core.util.
NumberUtils
Check to see if the big ints are equal (null safe).
equals(BigDecimal, BigDecimal)
- Static method in class oemware.core.util.
NumberUtils
Check to see if the big decimals are equal (null safe).
execute(Context)
- Method in class oemware.core.chain.
ShutdownKernelCommand
The "run" method.
execute(Context)
- Method in class oemware.core.chain.
StartupKernelCommand
The "run" method.
execute()
- Method in class oemware.core.
MultiThread
This is implemented by the extending class.
execute()
- Method in class oemware.core.
NamedPipeThread
Handle the read/write to the named pipe.
execute(DatagramMessage)
- Method in interface oemware.core.net.
DatagramMessageFilter
Called to execute the filter.
execute(DatagramMessage)
- Method in interface oemware.core.net.
DatagramMessageHandler
Called to execute the handler.
execute(DatagramMessage)
- Method in class oemware.core.net.
SharedUdpMessageHandler
Called to execute the handler.
execute(DatagramMessage)
- Method in class oemware.core.net.
ShutdownMessageHandler
Called to execute the handler.
execute()
- Method in class oemware.core.
SharedJobRunner
execute()
- Method in class oemware.core.
SingleThread
Implement this method.
execute(Map.Entry<K, V>)
- Method in interface oemware.core.util.
LruMap.EvictionHandler
The eldest entry removed from the lru.
executeChain(String, String)
- Method in class oemware.core.chain.
ChainManager
Execute a chain.
executeChain(String, String, Context)
- Method in class oemware.core.chain.
ChainManager
Execute a chain.
executeChain(Catalog, String)
- Static method in class oemware.core.util.
ChainUtils
Execute a command name in a chain.
executeChain(Catalog, String, Context)
- Static method in class oemware.core.util.
ChainUtils
Execute a command name in a chain.
executeChain(Chain, Context)
- Static method in class oemware.core.util.
ChainUtils
Execute a chain with a passed context.
executeChain(Chain)
- Static method in class oemware.core.util.
ChainUtils
Execute a chain with a new empty context object.
F
FileException
- Exception in
oemware.core
The file exception.
FileException()
- Constructor for exception oemware.core.
FileException
FileException(String)
- Constructor for exception oemware.core.
FileException
FileException(Throwable)
- Constructor for exception oemware.core.
FileException
FileException(String, Throwable)
- Constructor for exception oemware.core.
FileException
fileExists(String)
- Static method in class oemware.core.util.
FileUtils
Checks to see if the object passed is a file.
fileExists(File)
- Static method in class oemware.core.util.
FileUtils
Checks to see if the object passed is a file.
FileUtils
- Class in
oemware.core.util
The file utils.
FileUtils()
- Constructor for class oemware.core.util.
FileUtils
findComponent(String)
- Static method in class oemware.core.
Kernel
Lookup a component.
FixedBlockingQueue
- Class in
oemware.core
The blocking fixed size queue (i.e., has a max size).
FixedBlockingQueue(int)
- Constructor for class oemware.core.
FixedBlockingQueue
Construct a new queue.
format(LoggingEvent)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
G
get(Object)
- Method in class oemware.core.util.
LruMap
getAll()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getAppDir()
- Method in class oemware.core.
ServiceManager
getBaseDir()
- Method in class oemware.core.
ServiceConf
getBaseDir()
- Method in class oemware.core.
ServiceManager
getBindAddress()
- Method in class oemware.core.net.
DatagramServer
getBufferSize()
- Method in class oemware.core.net.
DatagramServer
getChain(Catalog, String)
- Static method in class oemware.core.util.
ChainUtils
Returns a chain from a catalog.
getConnection()
- Method in class oemware.core.dao.
BaseDao
Returns a connection from the data source.
getConnection(String, String, String, String)
- Method in class oemware.core.dao.
BaseDao
Returns a connection.
getConnection(String, String, String, String)
- Static method in class oemware.core.dao.
DbTools
Create a new db connection.
getContext()
- Method in class oemware.core.
Kernel
Returns the context.
getDataDir()
- Method in class oemware.core.
ServiceConf
getDataDir()
- Method in class oemware.core.
ServiceManager
getDebug()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getDeductExecuteTime()
- Method in class oemware.core.
SingleThread
getDefaultcolor()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getEnvName()
- Method in class oemware.core.
ServiceConf
getEnvName()
- Method in class oemware.core.
ServiceManager
getError()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getFatal()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getFilenameFilter(String, boolean)
- Static method in class oemware.core.util.
FileUtils
Returns the file filter object.
getFilenameFilter(String, boolean, boolean)
- Static method in class oemware.core.util.
FileUtils
Returns the file filter object.
getFileNames(String, String)
- Static method in class oemware.core.util.
FileUtils
Returns files from the data dir based on the max allowed.
getFileNames(String, String, boolean)
- Static method in class oemware.core.util.
FileUtils
Returns files from the data dir based on the max allowed.
getFileNames(String, String, boolean, boolean)
- Static method in class oemware.core.util.
FileUtils
Returns files from the data dir based on the max allowed.
getHandlers()
- Method in class oemware.core.net.
SharedUdpMessageHandler
getInfo()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getInstance()
- Static method in class oemware.core.
ServiceManager
Returns the (only) instance of this class.
getInstance()
- Static method in class oemware.core.util.
TraceUtils
getInstanceConf()
- Method in class oemware.core.
ServiceConf
getInstanceId()
- Method in class oemware.core.
ServiceConf
getInstanceId()
- Method in class oemware.core.
ServiceManager
getInt(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the 4-byte signed value at msg[pos].
getIntProperty(String)
- Method in class oemware.core.
InstanceConf
Returns an integer property value (works same as string version).
getIntProperty(String)
- Method in class oemware.core.
ServiceConf
Returns an integer property value (works same as string version).
getIntProperty(String, int)
- Method in class oemware.core.
ServiceConf
Returns an integer property value (works same as string version).
getJobFrequency()
- Method in class oemware.core.
BaseSharedJob
getJobFrequency()
- Method in interface oemware.core.
SharedJob
Get the frequency (in ms).
getJobName()
- Method in class oemware.core.
BaseSharedJob
getJobName()
- Method in interface oemware.core.
SharedJob
Get the job name.
getJobs()
- Method in class oemware.core.
SharedJobRunner
getJoinThread()
- Method in class oemware.core.
ThreadBase
getJoinTimeout()
- Method in class oemware.core.
ThreadBase
getLastRunTime()
- Method in class oemware.core.
BaseSharedJob
getLastRunTime()
- Method in interface oemware.core.
SharedJob
Returns the last time the job was run.
getLog(Object)
- Static method in class oemware.core.util.
LogUtils
Returns the log for the object.
getLongL(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the eight byte long (little endian).
getLongProperty(String)
- Method in class oemware.core.
InstanceConf
Returns a long property value (works same as string version).
getLongProperty(String, long)
- Method in class oemware.core.
ServiceConf
Returns a long property value (works same as string version).
getMaxTimeBeforeError()
- Method in class oemware.core.
SharedJobRunner
getNamedPipe()
- Method in class oemware.core.
NamedPipeThread
getNodeConf()
- Method in class oemware.core.
ServiceConf
getNodeId()
- Method in class oemware.core.
ServiceConf
getNodeId()
- Method in class oemware.core.
ServiceManager
getNow()
- Method in class oemware.core.dao.
BaseDao
Returns the current timestamp object.
getNow()
- Static method in class oemware.core.dao.
DbTools
Returns the current timestamp object.
getPipeName()
- Method in class oemware.core.
NamedPipe
Returns the pipe name.
getPort()
- Method in class oemware.core.net.
DatagramServer
getProperty(String)
- Method in class oemware.core.
InstanceConf
Returns the property
getProperty(String)
- Method in class oemware.core.
ServiceConf
Returns the property
getProperty(String, String)
- Method in class oemware.core.
ServiceConf
Returns the property
getRunState()
- Method in class oemware.core.
ServiceManager
getServiceName()
- Method in class oemware.core.
ServiceConf
getServiceName()
- Method in class oemware.core.
ServiceManager
getShort(int)
- Static method in class oemware.core.util.
NumberUtils
Returns the cached copy or a new object for the primitive passed.
getShortProperty(String)
- Method in class oemware.core.
InstanceConf
Returns a short property value (works same as string version).
getShortProperty(String)
- Method in class oemware.core.
ServiceConf
Returns a short property value (works same as string version).
getShortProperty(String, short)
- Method in class oemware.core.
ServiceConf
Returns a short property value (works same as string version).
getSleepTime()
- Method in class oemware.core.
SingleThread
getSourceAddress()
- Method in class oemware.core.net.
DatagramMessage
Returns the source address in int format.
getStacktrace()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
getStartTime()
- Method in class oemware.core.
ServiceManager
getSystemProperty(String)
- Static method in class oemware.core.util.
SystemUtils
Returns the property or dies.
getSystemPropertyInt(String)
- Static method in class oemware.core.util.
SystemUtils
Returns the property or exception.
getSystemPropertyShort(String)
- Static method in class oemware.core.util.
SystemUtils
Returns the property or exception.
getThreadCount()
- Method in class oemware.core.
MultiThread
Returns the thread count.
getUByte(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the 1-byte unsigned value at msg[pos].
getUInt(byte)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns an unsigned int for the byte passed.
getUInt(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the 4-byte unsigned value at msg[pos].
getUptime()
- Method in class oemware.core.
ServiceManager
getUShort(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the 2-byte unsigned value at msg[pos].
getUShortChar(byte[], int)
- Static method in class oemware.core.util.
ByteNumberUtils
Returns the 2-byte unsigned char at the pos.
getWarn()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
H
hashCode()
- Method in class oemware.core.
ByteArray
Overrides the default hash code to handle the bye array (or sction of).
hashCode()
- Method in class oemware.core.util.
LruMap
HeartbeatServlet
- Class in
oemware.core.web
The heartbeat servlet.
HeartbeatServlet()
- Constructor for class oemware.core.web.
HeartbeatServlet
HttpUtils
- Class in
oemware.core.util
The http utils.
HttpUtils()
- Constructor for class oemware.core.util.
HttpUtils
I
id()
- Method in enum oemware.core.net.
CoreMessageId
id()
- Method in interface oemware.core.net.
NetMessageId
Returns the message id.
init(GenericApplicationContext)
- Static method in class oemware.core.
Kernel
The init method.
INSTANCE_ID_KEY
- Static variable in class oemware.core.
InstanceConf
InstanceConf
- Class in
oemware.core
The instance configuration.
InstanceConf(String)
- Constructor for class oemware.core.
InstanceConf
Construct a new instance.
IoUtils
- Class in
oemware.core.util
The io utils.
IoUtils()
- Constructor for class oemware.core.util.
IoUtils
isEmpty()
- Method in class oemware.core.util.
LruMap
isEqual(byte[])
- Method in class oemware.core.
ByteArray
Check to see if the data passed is equal to this value.
isFile(String)
- Static method in class oemware.core.util.
FileUtils
Checks to see if the object passed is a file.
isFile(File)
- Static method in class oemware.core.util.
FileUtils
Checks to see if the object passed is a file.
isRead()
- Method in class oemware.core.
NamedPipe
Returns true if this class is set to read.
isRunning()
- Method in class oemware.core.
ServiceManager
isRunning()
- Method in class oemware.core.
ThreadBase
isStopping()
- Method in class oemware.core.
ServiceManager
K
Kernel
- Class in
oemware.core
The kernel object.
KERNEL_CONTEXT
- Static variable in class oemware.core.
Kernel
keySet()
- Method in class oemware.core.util.
LruMap
L
lastModifiedTime(File)
- Static method in class oemware.core.util.
FileUtils
Retrurns a file's last modified time.
length
- Variable in class oemware.core.
ByteArray
loadCatalog(String, String)
- Static method in class oemware.core.util.
ChainUtils
Load a catalog.
loadChannels(List<FileInputStream>)
- Static method in class oemware.core.util.
FileUtils
Load the file channels for the files passed.
loadFileNames(String, String, int, boolean)
- Static method in class oemware.core.util.
FileUtils
Load all (or max) of the file names.
loadFiles(String, String, int)
- Static method in class oemware.core.util.
FileUtils
Load all (or max) of the file input streams.
loadFiles(String, String, int, boolean)
- Static method in class oemware.core.util.
FileUtils
Load all (or max) of the file input streams.
loadInputStreams(List<File>)
- Static method in class oemware.core.util.
FileUtils
Load the file input streams for the files passed.
loadProperties(File, Properties)
- Static method in class oemware.core.util.
FileUtils
Refresh the values in a properties object with the values in the file system.
loadProperties(String, Properties)
- Static method in class oemware.core.util.
FileUtils
Refresh the values in a properties object with the values in the file system.
loadProperties(File, Properties, boolean)
- Static method in class oemware.core.util.
FileUtils
Refresh the values in a properties object with the values in the file system.
loadResourceUrl(String)
- Static method in class oemware.core.util.
ClasspathUtils
Load a resource url.
loadXmlPropertes(String)
- Static method in class oemware.core.util.
ClasspathUtils
Load properties from an xml config file in the path.
loadXmlProperties(String, Properties)
- Static method in class oemware.core.util.
FileUtils
Refresh the values in a properties object with the values in the file system.
loadXmlProperties(File, Properties)
- Static method in class oemware.core.util.
FileUtils
Refresh the values in a properties object with the values in the file system.
loadXmlProperties(String)
- Static method in class oemware.core.util.
FileUtils
Load properties from an xml config file.
logError(Log, String, String)
- Static method in class oemware.core.util.
LogUtils
Log the pipe excepiton.
logError(Log, String, Throwable)
- Static method in class oemware.core.util.
LogUtils
Log the named pipe excepiton.
logError(Log, String, String, Throwable)
- Static method in class oemware.core.util.
LogUtils
Log the named pipe excepiton.
LogUtils
- Class in
oemware.core.util
The log utils.
LogUtils()
- Constructor for class oemware.core.util.
LogUtils
logWarn(Log, String, String)
- Static method in class oemware.core.util.
LogUtils
Log the warning.
LruList
<
E
> - Class in
oemware.core.util
A simple lru list.
LruList(int)
- Constructor for class oemware.core.util.
LruList
Create a new lru linked hash map.
LruMap
<
K
,
V
> - Class in
oemware.core.util
An lru linked hash map.
LruMap(int)
- Constructor for class oemware.core.util.
LruMap
Create a new lru map.
LruMap(int, LruMap.EvictionHandler<K, V>)
- Constructor for class oemware.core.util.
LruMap
Create a new lru linked hash map.
LruMap.EvictionHandler
<
K
,
V
> - Interface in
oemware.core.util
The eviction handler interface.
M
main(String[])
- Static method in class oemware.core.net.
ShutdownClient
Stop the server.
main(String[])
- Static method in class oemware.core.
ServiceManager
The main method.
makeObject()
- Method in class oemware.core.pool.
ByteArrayPoolableObjectFactory
makeObject()
- Method in class oemware.core.pool.
ByteBufferPoolableObjectFactory
mapFileToBuffer(String)
- Static method in class oemware.core.util.
FileUtils
Read a file to a memory mapped buffer (read only).
mBindAddress
- Variable in class oemware.core.net.
DatagramServer
mConn
- Variable in class oemware.core.dao.
BaseDao
mDataSource
- Variable in class oemware.core.dao.
BaseDao
mJoinThread
- Variable in class oemware.core.
ThreadBase
Set this flag to join the thread before proceeding.
mJoinTimeout
- Variable in class oemware.core.
ThreadBase
mOperationStartTime
- Variable in class oemware.core.
NamedPipe
mPort
- Variable in class oemware.core.net.
DatagramServer
mReuseConn
- Variable in class oemware.core.dao.
BaseDao
mRunning
- Variable in class oemware.core.
ThreadBase
The running flag.
MultiThread
- Class in
oemware.core
The multiple thread object.
MultiThread(long, int, String, int, boolean)
- Constructor for class oemware.core.
MultiThread
Create the new object.
MultiThread(int, String)
- Constructor for class oemware.core.
MultiThread
Create a new object with params.
MultiThread(String)
- Constructor for class oemware.core.
MultiThread
Create a new object with params.
MultiThread(String, long)
- Constructor for class oemware.core.
MultiThread
Create a new object with params.
MultiThread(int, String, int, boolean)
- Constructor for class oemware.core.
MultiThread
Create a new object with params.
N
NamedPipe
- Class in
oemware.core
The named pipe class.
NamedPipe(String)
- Constructor for class oemware.core.
NamedPipe
Create a new object.
NamedPipe(String, boolean)
- Constructor for class oemware.core.
NamedPipe
Create a new object.
NamedPipe(String, boolean, int)
- Constructor for class oemware.core.
NamedPipe
Create a new object.
NamedPipe(String, int, long, boolean)
- Constructor for class oemware.core.
NamedPipe
Create a new object.
NamedPipeThread
- Class in
oemware.core
The named pipe thread class.
NamedPipeThread(NamedPipe, BlockingQueue<ByteBuffer>, int)
- Constructor for class oemware.core.
NamedPipeThread
Create a new object.
NamedPipeThread(NamedPipe, ObjectPool, BlockingQueue<ByteBuffer>, int)
- Constructor for class oemware.core.
NamedPipeThread
Create a new object.
NetMessageId
- Interface in
oemware.core.net
The net message id interface.
NetUtils
- Class in
oemware.core.util
The network utils.
NetUtils()
- Constructor for class oemware.core.util.
NetUtils
NODE_ID_KEY
- Static variable in class oemware.core.
InstanceConf
NumberUtils
- Class in
oemware.core.util
The number utils.
NumberUtils()
- Constructor for class oemware.core.util.
NumberUtils
O
ObjectPool
- Class in
oemware.core.pool
The object pool manager.
ObjectPool(String, PoolableObjectFactory, int, int, long)
- Constructor for class oemware.core.pool.
ObjectPool
Create a new object and set some of the properties.
ObjectPool(String, PoolableObjectFactory, int, int, long, boolean, boolean, boolean, byte)
- Constructor for class oemware.core.pool.
ObjectPool
Create a new object and set some of the properties.
oemware.core
- package oemware.core
The core package is responsible for initializing, running and shutting down a server.
oemware.core.chain
- package oemware.core.chain
Tools for creating
Chains of Responsiblity
.
oemware.core.dao
- package oemware.core.dao
oemware.core.ext.log4j
- package oemware.core.ext.log4j
oemware.core.net
- package oemware.core.net
oemware.core.pool
- package oemware.core.pool
oemware.core.util
- package oemware.core.util
oemware.core.web
- package oemware.core.web
offset
- Variable in class oemware.core.
ByteArray
offset
- Variable in class oemware.core.net.
DatagramMessage
onApplicationEvent(ApplicationEvent)
- Method in class oemware.core.web.
TomcatService
The stpring application event listener interface.
openResourceUrl(String)
- Static method in class oemware.core.util.
ClasspathUtils
Open a resource url input stream.
P
passivateObject(Object)
- Method in class oemware.core.pool.
ByteArrayPoolableObjectFactory
passivateObject(Object)
- Method in class oemware.core.pool.
ByteBufferPoolableObjectFactory
put(Object)
- Method in class oemware.core.
FixedBlockingQueue
Add an element.
put(Object)
- Method in class oemware.core.
SynchQueue
Add an element.
put(E)
- Method in class oemware.core.util.
LruList
Use this method for the lru.
put(K, V)
- Method in class oemware.core.util.
LruMap
putAll(Map<? extends K, ? extends V>)
- Method in class oemware.core.util.
LruMap
R
READ
- Static variable in class oemware.core.
NamedPipe
read(ByteBuffer)
- Method in class oemware.core.
NamedPipe
Handle reading from the np.
readableFile(File)
- Static method in class oemware.core.util.
FileUtils
Check to see if the file name is a readable file.
readableFile(String)
- Static method in class oemware.core.util.
FileUtils
Check to see if the file name is a readable file.
readAll(ByteBuffer)
- Method in class oemware.core.
NamedPipe
Fill the buffer.
readContent(String, int, int, String, int, int)
- Static method in class oemware.core.util.
HttpUtils
Opens an http connection and tries to read the contents.
readFileBuffer(File)
- Static method in class oemware.core.util.
FileUtils
Reads a file and closes the file stream/channel.
readInputStream(InputStream, byte[], int)
- Static method in class oemware.core.util.
IoUtils
Read the input stream into a byte array.
readPageContent(String)
- Static method in class oemware.core.util.
HttpUtils
Opens an http connection and tries to read the page content.
RECORD_INTERVAL
- Static variable in class oemware.core.util.
TimeUtils
remainingCapacity()
- Method in class oemware.core.
FixedBlockingQueue
Returns the remaining capacity.
remove(Object)
- Method in class oemware.core.util.
LruList
remove(Object)
- Method in class oemware.core.util.
LruMap
renameFile(String, String)
- Static method in class oemware.core.util.
FileUtils
Rename the file.
renameFile(File, File)
- Static method in class oemware.core.util.
FileUtils
Rename the file.
renameFile(File, File, long)
- Static method in class oemware.core.util.
FileUtils
Rename a file with a retry.
run()
- Method in class oemware.core.
MultiThread
The run method.
run()
- Method in class oemware.core.net.
DatagramServer
run()
- Method in class oemware.core.
SingleThread
Continuously call the "execute" method.
run()
- Method in class oemware.core.
ThreadBase
This must be implemented for the thread to work.
runJob()
- Method in class oemware.core.
BaseSharedJob
You must implement this method in your class.
runJob()
- Method in class oemware.core.
InstanceConf
This is the method called by the shared job runner.
runJob()
- Method in interface oemware.core.
SharedJob
Called when its time/turn is available.
S
secsToMillis(int)
- Static method in class oemware.core.util.
TimeUtils
Returns the time in ms - converted from seconds.
service(HttpServletRequest, HttpServletResponse)
- Method in class oemware.core.web.
HeartbeatServlet
SERVICE_NAME_KEY
- Static variable in class oemware.core.
InstanceConf
ServiceConf
- Class in
oemware.core
The service config object.
ServiceConf(InstanceConf, InstanceConf, InstanceConf)
- Constructor for class oemware.core.
ServiceConf
Construct a new instance.
ServiceException
- Exception in
oemware.core
The service exception.
ServiceException()
- Constructor for exception oemware.core.
ServiceException
ServiceException(String)
- Constructor for exception oemware.core.
ServiceException
ServiceException(Throwable)
- Constructor for exception oemware.core.
ServiceException
ServiceException(String, Throwable)
- Constructor for exception oemware.core.
ServiceException
ServiceManager
- Class in
oemware.core
The service manager.
setAll(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setBindAddress(String)
- Method in class oemware.core.net.
DatagramServer
setDebug(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setDeductExecuteTime(boolean)
- Method in class oemware.core.
SingleThread
setDefaultcolor(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setDefaultColors()
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
set the color patterns to the defaults
setError(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setFatal(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setHandlers(Map<NetMessageId, DatagramMessageHandler>)
- Method in class oemware.core.net.
SharedUdpMessageHandler
setInfo(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setIntB(byte[], int, int)
- Static method in class oemware.core.util.
ByteNumberUtils
Set a int value in a byte array (big endian).
setJobFrequency(long)
- Method in class oemware.core.
BaseSharedJob
setJobName(String)
- Method in class oemware.core.
BaseSharedJob
setJobs(List<SharedJob>)
- Method in class oemware.core.
SharedJobRunner
setJoinThread(boolean)
- Method in class oemware.core.
ThreadBase
setJoinTimeout(long)
- Method in class oemware.core.
ThreadBase
setLastRunTime(long)
- Method in class oemware.core.
BaseSharedJob
setLastRunTime(long)
- Method in interface oemware.core.
SharedJob
Set the last run time.
setLongL(byte[], int, long)
- Static method in class oemware.core.util.
ByteNumberUtils
Set the 8-byte long (little endian).
setMaxTimeBeforeError(long)
- Method in class oemware.core.
SharedJobRunner
setProperty(String, String)
- Method in class oemware.core.
InstanceConf
Set the property.
setReuseConn(boolean)
- Method in class oemware.core.dao.
BaseDao
Enable connection reuse.
setSleepTime(long)
- Method in class oemware.core.
SingleThread
setStacktrace(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
setThreadCount(int)
- Method in class oemware.core.
MultiThread
Set the thread count.
setUInt(byte[], int, long)
- Static method in class oemware.core.util.
ByteNumberUtils
Set the 4-byte unsigned short at the position.
setUShort(byte[], int, int)
- Static method in class oemware.core.util.
ByteNumberUtils
Set the 2-byte unsigned short at the position.
setUShortChar(byte[], int, char)
- Static method in class oemware.core.util.
ByteNumberUtils
Set the 2-byte unsigned short at the position.
setWarn(String)
- Method in class oemware.core.ext.log4j.
ANSIColorLayout
SharedJob
- Interface in
oemware.core
The shared job interface.
SharedJobRunner
- Class in
oemware.core
The shared job runner is a single thread that is used amongst a group of low priority jobs.
SharedJobRunner()
- Constructor for class oemware.core.
SharedJobRunner
SharedUdpMessageHandler
- Class in
oemware.core.net
The generic shared datagram message handler.
SharedUdpMessageHandler()
- Constructor for class oemware.core.net.
SharedUdpMessageHandler
SHORT_CACHE_MAX
- Static variable in class oemware.core.util.
NumberUtils
shutdown()
- Method in class oemware.core.chain.
SpringLifecycleDiagnostic
shutdown()
- Method in class oemware.core.
FixedBlockingQueue
Stop the queue.
shutdown()
- Method in class oemware.core.
MultiThread
Shutdown the component.
shutdown()
- Method in class oemware.core.
NamedPipe
Stop the procss.
shutdown()
- Method in class oemware.core.net.
DatagramServer
Called to shutdown the datagram server :-^
shutdown()
- Method in class oemware.core.
ServiceManager
The stop hook.
shutdown()
- Method in class oemware.core.
SynchQueue
Stop the queue.
shutdown()
- Method in class oemware.core.
ThreadBase
shutdown()
- Method in class oemware.core.web.
TomcatService
Stop tomcat.
ShutdownClient
- Class in
oemware.core.net
The shutdown client.
ShutdownClient()
- Constructor for class oemware.core.net.
ShutdownClient
ShutdownKernelCommand
- Class in
oemware.core.chain
Shutdown the component kernel.
ShutdownKernelCommand()
- Constructor for class oemware.core.chain.
ShutdownKernelCommand
ShutdownMessageHandler
- Class in
oemware.core.net
The shutdown message handler.
ShutdownMessageHandler()
- Constructor for class oemware.core.net.
ShutdownMessageHandler
SingleThread
- Class in
oemware.core
The single thread base clase.
SingleThread()
- Constructor for class oemware.core.
SingleThread
size()
- Method in class oemware.core.util.
LruMap
SpringLifecycleDiagnostic
- Class in
oemware.core.chain
The test bean.
SpringLifecycleDiagnostic()
- Constructor for class oemware.core.chain.
SpringLifecycleDiagnostic
START_TRANSMIT
- Static variable in class oemware.core.
NamedPipe
startDaemonThread()
- Static method in class oemware.core.util.
SystemUtils
Start the daemon thread.
startDebugTrace(String, Log, long, long)
- Method in class oemware.core.util.
TraceUtils
Start the debug trace.
startDebugTrace(String, Log)
- Method in class oemware.core.util.
TraceUtils
Start the debug trace.
startInfoTrace(String, Log, long, long)
- Method in class oemware.core.util.
TraceUtils
Start the info trace.
startInfoTrace(String, Log)
- Method in class oemware.core.util.
TraceUtils
Start the info trace.
startTrace(String, Log, long, long)
- Method in class oemware.core.util.
TraceUtils
Start the trace.
startTrace(String, Log)
- Method in class oemware.core.util.
TraceUtils
Start the trace.
startup()
- Method in class oemware.core.chain.
SpringLifecycleDiagnostic
startup()
- Method in class oemware.core.
FixedBlockingQueue
startup()
- Method in class oemware.core.
MultiThread
Start the component/threads.
startup()
- Method in class oemware.core.
NamedPipe
Start the process.
startup()
- Method in class oemware.core.
ServiceManager
The start hook.
startup()
- Method in class oemware.core.
SynchQueue
startup()
- Method in class oemware.core.
ThreadBase
startup()
- Method in class oemware.core.web.
TomcatService
Start tomcat.
StartupKernelCommand
- Class in
oemware.core.chain
Startup the component kernel.
StartupKernelCommand()
- Constructor for class oemware.core.chain.
StartupKernelCommand
STATE_INITIALIZE
- Static variable in class oemware.core.
ServiceManager
STATE_RUNNING
- Static variable in class oemware.core.
ServiceManager
STATE_STARTING
- Static variable in class oemware.core.
ServiceManager