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 M N O P R S T U V W

A

active - Variable in class org.apache.derby.impl.services.cache.Clock
 
addEntry(CachedItem, Object, boolean, Object) - Method in class org.apache.derby.impl.services.cache.Clock
Add a new CachedItem and a holder object to the cache.
ageOut - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
ageOut() - Method in class org.apache.derby.impl.services.cache.Clock
Age as many objects as possible out of the cache.

C

CacheStat - class org.apache.derby.impl.services.cache.CacheStat.
 
CacheStat() - Constructor for class org.apache.derby.impl.services.cache.CacheStat
 
CacheTrace - Static variable in class org.apache.derby.impl.services.cache.ClockFactory
Trace flag to display cache statistics
CachedItem - class org.apache.derby.impl.services.cache.CachedItem.
A generic class to represent the cache related infomation of a cached object (Cacheable).
CachedItem() - Constructor for class org.apache.derby.impl.services.cache.CachedItem
Create a CachedItem in the not valid state.
Clock - class org.apache.derby.impl.services.cache.Clock.
A cache manager that uses a Hashtable and a ArrayList.
Clock(CacheableFactory, String, int, long, boolean) - Constructor for class org.apache.derby.impl.services.cache.Clock
Construct a new clock cache manager.
ClockFactory - class org.apache.derby.impl.services.cache.ClockFactory.
Multithreading considerations: no need to be MT-safe, caller (module control) provides synchronization.
ClockFactory() - Constructor for class org.apache.derby.impl.services.cache.ClockFactory
 
clean(boolean) - Method in class org.apache.derby.impl.services.cache.CachedItem
Clean the cached object
clean(Matchable) - Method in class org.apache.derby.impl.services.cache.Clock
Clean all objects that match a partial key.
cleanAll - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
cleanAll() - Method in class org.apache.derby.impl.services.cache.Clock
Clean all objects in the cache.
cleanCache(Matchable) - Method in class org.apache.derby.impl.services.cache.Clock
Write out all dirty buffers.
cleaner - Variable in class org.apache.derby.impl.services.cache.Clock
 
cleanerRunning - Variable in class org.apache.derby.impl.services.cache.Clock
 
clockHand - Variable in class org.apache.derby.impl.services.cache.Clock
 
create - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
create(Object, Object) - Method in class org.apache.derby.impl.services.cache.Clock
Create a new object with the said key.
currentByteCount - Variable in class org.apache.derby.impl.services.cache.Clock
 
currentSize - Variable in class org.apache.derby.impl.services.cache.CacheStat
 

D

data - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
discard(Matchable) - Method in class org.apache.derby.impl.services.cache.Clock
Discard all objects that match the partial key.

E

entry - Variable in class org.apache.derby.impl.services.cache.CachedItem
The Cacheable object being represented.

F

find(Object) - Method in class org.apache.derby.impl.services.cache.Clock
Find the object or materialize one in the cache.
findCached(Object) - Method in class org.apache.derby.impl.services.cache.Clock
Find an object in the cache.
findCachedHit - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
findCachedMiss - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
findFault - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
findFreeItem() - Method in class org.apache.derby.impl.services.cache.Clock
 
findHit - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
findMiss - Variable in class org.apache.derby.impl.services.cache.CacheStat
 

G

getCacheStats() - Method in class org.apache.derby.impl.services.cache.Clock
Return statistics about cache that may be implemented.
getCurrentSize() - Method in class org.apache.derby.impl.services.cache.Clock
 
getEntry() - Method in class org.apache.derby.impl.services.cache.CachedItem
Get the cached object.
getItemSize(CachedItem) - Method in class org.apache.derby.impl.services.cache.Clock
 
getMaximumSize() - Method in class org.apache.derby.impl.services.cache.Clock
 
getNumberInUse() - Method in class org.apache.derby.impl.services.cache.Clock
 
getStats() - Method in class org.apache.derby.impl.services.cache.CacheStat
 
growCache() - Method in class org.apache.derby.impl.services.cache.Clock
Grow the cache and return a unused, kept item.

H

holderFactory - Variable in class org.apache.derby.impl.services.cache.Clock
 
holders - Variable in class org.apache.derby.impl.services.cache.Clock
 

I

ITEM_OVERHEAD - Static variable in class org.apache.derby.impl.services.cache.Clock
 
incrClockHand() - Method in class org.apache.derby.impl.services.cache.Clock
Synchronously increment clock hand position
initialSize - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
isKept() - Method in class org.apache.derby.impl.services.cache.CachedItem
Is the cached object kept?
isValid() - Method in class org.apache.derby.impl.services.cache.CachedItem
Does the cached object have a valid identity.

K

keepAfterSearch() - Method in class org.apache.derby.impl.services.cache.CachedItem
Keep the cached object after a search.
keepCount - Variable in class org.apache.derby.impl.services.cache.CachedItem
The current keep count on the entry.
keepForClean() - Method in class org.apache.derby.impl.services.cache.CachedItem
 
keepForCreate() - Method in class org.apache.derby.impl.services.cache.CachedItem
 

M

maxSize - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
maximumSize - Variable in class org.apache.derby.impl.services.cache.Clock
 
myClientNumber - Variable in class org.apache.derby.impl.services.cache.Clock
 

N

name - Variable in class org.apache.derby.impl.services.cache.Clock
 
needService - Variable in class org.apache.derby.impl.services.cache.Clock
 
newCacheManager(CacheableFactory, String, int, int) - Method in class org.apache.derby.impl.services.cache.ClockFactory
 
newSizedCacheManager(CacheableFactory, String, int, long) - Method in class org.apache.derby.impl.services.cache.ClockFactory
 
notifyRemover() - Method in class org.apache.derby.impl.services.cache.CachedItem
 

O

org.apache.derby.impl.services.cache - package org.apache.derby.impl.services.cache
 

P

performWork(ContextManager) - Method in class org.apache.derby.impl.services.cache.Clock
 
performWork(boolean) - Method in class org.apache.derby.impl.services.cache.Clock
The background cleaner tries to make sure that there are serveral cleaned or invalied buffers ahead of the clock hand so that when they are evicted, they don't need to be cleaned.

R

RECENTLY_USED - Static variable in class org.apache.derby.impl.services.cache.CachedItem
 
REMOVE_OK - Static variable in class org.apache.derby.impl.services.cache.CachedItem
 
REMOVE_REQUESTED - Static variable in class org.apache.derby.impl.services.cache.CachedItem
 
recentlyUsed() - Method in class org.apache.derby.impl.services.cache.CachedItem
Has the cached object been referenced (kept) since the last sweep of the clock hand?
release(Cacheable) - Method in class org.apache.derby.impl.services.cache.Clock
The caller is no longer looking at or updating the entry.
release(CachedItem) - Method in class org.apache.derby.impl.services.cache.Clock
 
remove - Variable in class org.apache.derby.impl.services.cache.CacheStat
 
remove(boolean) - Method in class org.apache.derby.impl.services.cache.CachedItem
 
remove(Cacheable) - Method in class org.apache.derby.impl.services.cache.Clock
Remove an object from the cache.
removeIdentity(CachedItem) - Method in class org.apache.derby.impl.services.cache.Clock
Clear an item's identity.
reset() - Method in class org.apache.derby.impl.services.cache.CacheStat
 
resetCacheStats() - Method in class org.apache.derby.impl.services.cache.Clock
Reset the statistics to 0.
resize(long) - Method in class org.apache.derby.impl.services.cache.Clock
Change the maximum size of the cache.
rotateClock(float) - Method in class org.apache.derby.impl.services.cache.Clock
Go through the list of holder objects and find a free one.

S

SETTING_IDENTITY - Static variable in class org.apache.derby.impl.services.cache.CachedItem
 
scan(Matchable, Operator) - Method in class org.apache.derby.impl.services.cache.Clock
Perform an operation on (approximately) all entries that matches the filter, or all entries if the filter is null.
serviceASAP() - Method in class org.apache.derby.impl.services.cache.Clock
MT - read only.
serviceImmediately() - Method in class org.apache.derby.impl.services.cache.Clock
 
setRemoveState() - Method in class org.apache.derby.impl.services.cache.CachedItem
Set the state of the to-be removed flag.
setUsed(boolean) - Method in class org.apache.derby.impl.services.cache.CachedItem
The clock hand has swept past this entry.
setUsed(Object[]) - Method in class org.apache.derby.impl.services.cache.Clock
Mark a set of entries as having been used.
setValidState(boolean) - Method in class org.apache.derby.impl.services.cache.CachedItem
Set the valid state of the cached object.
settingIdentityComplete() - Method in class org.apache.derby.impl.services.cache.CachedItem
 
shrinkSize(long) - Method in class org.apache.derby.impl.services.cache.Clock
 
shutdown() - Method in class org.apache.derby.impl.services.cache.Clock
MT - synchronization provided by caller
stat - Variable in class org.apache.derby.impl.services.cache.Clock
 
state - Variable in class org.apache.derby.impl.services.cache.CachedItem
Does entry (the Cacheable) have an identity.

T

takeOnIdentity(CacheManager, CacheableFactory, Object, boolean, Object) - Method in class org.apache.derby.impl.services.cache.CachedItem
Make entry (the Cacheable) take on a new identity.
trimRequests - Variable in class org.apache.derby.impl.services.cache.Clock
 
trimToSize() - Method in class org.apache.derby.impl.services.cache.Clock
 

U

unkeep() - Method in class org.apache.derby.impl.services.cache.CachedItem
Unkeep the cached object.
unkeepForCreate() - Method in class org.apache.derby.impl.services.cache.CachedItem
 
use() - Method in class org.apache.derby.impl.services.cache.CachedItem
Allow use of the cacheable entry.
useByteCount - Variable in class org.apache.derby.impl.services.cache.Clock
 
useDaemonService(DaemonService) - Method in class org.apache.derby.impl.services.cache.Clock
MT - synchronization provided by caller can use this Daemomn service if needed

V

VALID - Static variable in class org.apache.derby.impl.services.cache.CachedItem
 
validItemCount - Variable in class org.apache.derby.impl.services.cache.Clock
 

W

wokenToClean - Variable in class org.apache.derby.impl.services.cache.Clock
 

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