Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A C D E F G H I K L M N O P Q R S T U V

A

abortRemove() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Abort any polling remover thread
add(String, Object) - Method in class org.apache.catalina.cluster.util.FastQueue
Add new data to the queue
add(String, Object) - Method in interface org.apache.catalina.cluster.util.IQueue
 
add(SmartQueue.SmartEntry) - Method in class org.apache.catalina.cluster.util.SmartQueue
Add an object to the queue
addCounter - Variable in class org.apache.catalina.cluster.util.FastQueue
calc all add objects
addErrorCounter - Variable in class org.apache.catalina.cluster.util.FastQueue
calc all add objetcs in error state ( see limit queue length)
addLocked - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
A flag indicating, if an add thread owns the lock.
addWait - Variable in class org.apache.catalina.cluster.util.FastQueue
Calc wait time thread
addWaitTimeout - Variable in class org.apache.catalina.cluster.util.FastQueue
addWaitTimeout for producer
addWaitTimeout - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Time in milliseconds after which threads waiting for an add lock are woken up.
append(LinkObject) - Method in class org.apache.catalina.cluster.util.LinkObject
Set the next element.
avgSize - Variable in class org.apache.catalina.cluster.util.FastQueue
avg queue size
avgSizeSample - Variable in class org.apache.catalina.cluster.util.FastQueue
 

C

checkLock - Variable in class org.apache.catalina.cluster.util.FastQueue
check lock to detect strange threadings things

D

data() - Method in class org.apache.catalina.cluster.util.LinkObject
Get the data object from the element.
dataAvailable - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
A flag indicating, if the remover needs polling.
doStats - Variable in class org.apache.catalina.cluster.util.FastQueue
calc stats data

E

enabled - Variable in class org.apache.catalina.cluster.util.FastQueue
enabled the queue
equals(Object) - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

F

FastQueue - class org.apache.catalina.cluster.util.FastQueue.
A fast queue that remover thread lock the adder thread.
FastQueue() - Constructor for class org.apache.catalina.cluster.util.FastQueue
Generate Queue SingleRemoveSynchronizedAddLock and set add and wait Timeouts
first - Variable in class org.apache.catalina.cluster.util.FastQueue
First Object at queue (consumer message)

G

getAddCounter() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getAddErrorCounter() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getAddWait() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getAddWaitTimeout() - Method in class org.apache.catalina.cluster.util.FastQueue
get current add wait timeout
getAddWaitTimeout() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
 
getAvgSize() - Method in class org.apache.catalina.cluster.util.FastQueue
Avg queue size
getAvgSizeSample() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getKey() - Method in class org.apache.catalina.cluster.util.LinkObject
Get the unique message id
getKey() - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 
getMaxQueueLength() - Method in class org.apache.catalina.cluster.util.FastQueue
get Max Queue length
getMaxQueueLength() - Method in interface org.apache.catalina.cluster.util.IQueue
 
getMaxSize() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getMaxSizeSample() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getProperty(String) - Method in interface org.apache.catalina.cluster.util.IDynamicProperty
get current config
getPropertyNames() - Method in interface org.apache.catalina.cluster.util.IDynamicProperty
Get all properties keys
getRemoveCounter() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getRemoveErrorCounter() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getRemoveWait() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getRemoveWaitTimeout() - Method in class org.apache.catalina.cluster.util.FastQueue
get current remove wait timeout
getRemoveWaitTimeout() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
 
getSample() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getSampleInterval() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getSize() - Method in class org.apache.catalina.cluster.util.FastQueue
 
getValue() - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

H

hashCode() - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

I

IDynamicProperty - interface org.apache.catalina.cluster.util.IDynamicProperty.
 
IQueue - interface org.apache.catalina.cluster.util.IQueue.
A queue interface
inAdd - Variable in class org.apache.catalina.cluster.util.FastQueue
 
inMutex - Variable in class org.apache.catalina.cluster.util.FastQueue
 
inRemove - Variable in class org.apache.catalina.cluster.util.FastQueue
 
isAddLocked() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Check if an add thread owns the lock.
isCheckLock() - Method in class org.apache.catalina.cluster.util.FastQueue
 
isDataAvailable() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Check if the locked object has data available i.e.
isDoStats() - Method in class org.apache.catalina.cluster.util.FastQueue
 
isEnabled() - Method in class org.apache.catalina.cluster.util.FastQueue
 
isRemoveLocked() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Check if the remove thread owns the lock.
isRemovePolling() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Check if the remove thread is polling.
isTimeWait() - Method in class org.apache.catalina.cluster.util.FastQueue
 

K

key - Variable in class org.apache.catalina.cluster.util.LinkObject
 
key - Variable in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

L

LinkObject - class org.apache.catalina.cluster.util.LinkObject.
The class LinkObject implements an element for a linked list, consisting of a general data object and a pointer to the next element.
LinkObject(String, Object) - Constructor for class org.apache.catalina.cluster.util.LinkObject
Construct a new element from the data object.
last - Variable in class org.apache.catalina.cluster.util.FastQueue
Last object in queue (producer Object)
lock - Variable in class org.apache.catalina.cluster.util.FastQueue
This is the actual queue
lockAdd() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Acquires the lock by an add thread and sets the add flag.
lockRemove() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Acquires the lock by the remove thread and sets the remove flag.
log - Static variable in class org.apache.catalina.cluster.util.FastQueue
 
log - Static variable in class org.apache.catalina.cluster.util.SmartQueue
 

M

maxQueueLength - Variable in class org.apache.catalina.cluster.util.FastQueue
limit the queue legnth ( default is unlimited)
maxSize - Variable in class org.apache.catalina.cluster.util.FastQueue
max queue size
maxSizeSample - Variable in class org.apache.catalina.cluster.util.FastQueue
 
mutex - Variable in class org.apache.catalina.cluster.util.SmartQueue
 

N

next - Variable in class org.apache.catalina.cluster.util.LinkObject
 
next() - Method in class org.apache.catalina.cluster.util.LinkObject
Get the next element.

O

org.apache.catalina.cluster.util - package org.apache.catalina.cluster.util
This package contains code for Clustering, the base class of a Cluster is org.apache.catalina.Cluster implementations of this class is done when implementing a new Cluster protocol

P

payload - Variable in class org.apache.catalina.cluster.util.LinkObject
 

Q

queue - Variable in class org.apache.catalina.cluster.util.SmartQueue
This is the actual queue
queueMap - Variable in class org.apache.catalina.cluster.util.SmartQueue
And this is only for performance, fast lookups

R

remove() - Method in class org.apache.catalina.cluster.util.FastQueue
remove the complete queued object list
remove() - Method in interface org.apache.catalina.cluster.util.IQueue
 
remove() - Method in class org.apache.catalina.cluster.util.SmartQueue
Blocks forever until an element has been added to the queue
remove(long) - Method in class org.apache.catalina.cluster.util.SmartQueue
 
removeCounter - Variable in class org.apache.catalina.cluster.util.FastQueue
calc all remove objects
removeEnabled - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
A flag indicating, if the remove thread is allowed to wait for the lock.
removeErrorCounter - Variable in class org.apache.catalina.cluster.util.FastQueue
calc all remove objects failures (hupps probleme detection)
removeLocked - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
A flag indicating, if the remove thread owns the lock.
removeProperty(String) - Method in interface org.apache.catalina.cluster.util.IDynamicProperty
remove a configured property.
removeWait - Variable in class org.apache.catalina.cluster.util.FastQueue
Calc remove time threads
removeWaitTimeout - Variable in class org.apache.catalina.cluster.util.FastQueue
removeWaitTimeout for consumer
removeWaitTimeout - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Time in milliseconds after which threads waiting for a remove lock are woken up.
remover - Variable in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
The current remove thread.
resetStatistics() - Method in class org.apache.catalina.cluster.util.FastQueue
reset all stats data

S

SingleRemoveSynchronizedAddLock - class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock.
The class SingleRemoveSynchronizedAddLock implement locking for accessing the queue by a single remove thread and multiple add threads.
SingleRemoveSynchronizedAddLock() - Constructor for class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
 
SingleRemoveSynchronizedAddLock(boolean) - Constructor for class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
 
SmartQueue - class org.apache.catalina.cluster.util.SmartQueue.
 
SmartQueue() - Constructor for class org.apache.catalina.cluster.util.SmartQueue
 
SmartQueue.SmartEntry - class org.apache.catalina.cluster.util.SmartQueue.SmartEntry.
 
SmartQueue.SmartEntry(Object, Object) - Constructor for class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 
sampleInterval - Variable in class org.apache.catalina.cluster.util.FastQueue
avg size sample interval
setAddCounter(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setAddErrorCounter(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setAddWait(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setAddWaitTimeout(long) - Method in class org.apache.catalina.cluster.util.FastQueue
Set add wait timeout (default 10000 msec)
setAddWaitTimeout(long) - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Set value of addWaitTimeout
setCheckLock(boolean) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setDoStats(boolean) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setEnabled(boolean) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setMaxQueueLength(int) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setMaxQueueLength(int) - Method in interface org.apache.catalina.cluster.util.IQueue
 
setMaxSize(int) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setMaxSizeSample(int) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setProperty(String, Object) - Method in interface org.apache.catalina.cluster.util.IDynamicProperty
set config attributes with reflect
setRemoveCounter(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setRemoveErrorCounter(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setRemoveWait(long) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setRemoveWaitTimeout(long) - Method in class org.apache.catalina.cluster.util.FastQueue
set remove wait timeout ( default 30000 msec)
setRemoveWaitTimeout(long) - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Set value of removeWaitTimeout
setSampleInterval(int) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setTimeWait(boolean) - Method in class org.apache.catalina.cluster.util.FastQueue
 
setValue(Object) - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 
size - Variable in class org.apache.catalina.cluster.util.FastQueue
Current Queue elements size
size() - Method in class org.apache.catalina.cluster.util.SmartQueue
 
start() - Method in class org.apache.catalina.cluster.util.FastQueue
start queuing
start() - Method in interface org.apache.catalina.cluster.util.IQueue
 
stop() - Method in class org.apache.catalina.cluster.util.FastQueue
start queuing
stop() - Method in interface org.apache.catalina.cluster.util.IQueue
 

T

timeWait - Variable in class org.apache.catalina.cluster.util.FastQueue
protocol the thread wait times
toString() - Method in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

U

unlockAdd() - Method in class org.apache.catalina.cluster.util.FastQueue
unlock queue for next add
unlockAdd(boolean) - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Releases the lock by an add thread and reset the remove flag.
unlockRemove() - Method in class org.apache.catalina.cluster.util.FastQueue
unlock queue for next remove
unlockRemove() - Method in class org.apache.catalina.cluster.util.SingleRemoveSynchronizedAddLock
Releases the lock by the remove thread and reset the add flag.

V

value - Variable in class org.apache.catalina.cluster.util.SmartQueue.SmartEntry
 

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