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

A

accept(File) - Method in class org.ov4j.hessianImpl.DirFileFilter
Accepts only folder files.
accept(File) - Method in class org.ov4j.hessianImpl.StdFileFilter
Accepts only normal files.
accept(File) - Method in class org.ov4j.hessianImpl.TStampFileFilter
Accepts only normal files newer than tstamp.
addListener(ICacheHandlerListener) - Method in class org.ov4j.cache.CacheHandler
Register listener for notifications.
addNCommit(CachedResultId, Version<ClassComparable>) - Method in class org.ov4j.cache.CacheHandler
Add result to cache.
addNCommit(C, Version<T>) - Method in class org.ov4j.Controler
Directly add a version.
addVersion(Version<T>, int) - Method in class org.ov4j.data.Item
Add a version to this item.

B

backup() - Method in class org.ov4j.db4oImpl.Container
Backup the data and ID map databases.
backup() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Backup the data and ID map databases.
backup() - Method in class org.ov4j.hessianImpl.Container
Backup the data and ID map databases.
batchCommit(C[], Version<T>[], Class<? extends ComparisonResult<T>>, boolean) - Method in class org.ov4j.Controler
Commit changes to the given objects using the specified class to determine if commit is needed.
batchDelete(C[]) - Method in class org.ov4j.Controler
Removes all versions of the given ids.
batchDelete(Item<T, C>[], boolean) - Method in class org.ov4j.db4oImpl.Container
 
batchDelete(Item<T, C>[], boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
batchDelete(Item<T, C>[], boolean) - Method in class org.ov4j.hessianImpl.Container
 
batchDelete(Item<T, C>[], boolean) - Method in interface org.ov4j.IContainer
Delete an array of items all at once, items which are not found will simply be ignored.
batchDiscard(C[]) - Method in class org.ov4j.Controler
Remove all version and do not keep IDs in history.
batchImport(C[], Version<T>[], boolean) - Method in class org.ov4j.Controler
Add all versions, will return a BiteSet containing information on which could be added.
batchMerge(C[]) - Method in class org.ov4j.Controler
Merges all versions of the given ids.
batchMerge(C[]) - Method in class org.ov4j.db4oImpl.Container
 
batchMerge(C[]) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
batchMerge(C[]) - Method in class org.ov4j.hessianImpl.Container
 
batchMerge(C[]) - Method in interface org.ov4j.IContainer
Merge an array of items all at once, items which are not found will simply be ignored.
batchSave(Item<T, C>[], boolean) - Method in class org.ov4j.db4oImpl.Container
 
batchSave(Item<T, C>[], boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
batchSave(Item<T, C>[], boolean) - Method in class org.ov4j.hessianImpl.Container
 
batchSave(Item<T, C>[], boolean) - Method in interface org.ov4j.IContainer
Save array of items all at once.

C

CACHE_AUTHOR - Static variable in class org.ov4j.cache.CacheHandler
Author used when caching.
CACHE_VERSION_ROLLOVER - Static variable in class org.ov4j.cache.CacheHandler
Number of versions to keep in history.
cacheArgs(Object...) - Method in class org.ov4j.retry.RetryHandler
Cache arguments of the call.
cachedCall(Method, Object, Object...) - Method in class org.ov4j.cache.CacheHandler
Perform a cached call, will wait for a period of time before returning the result from the cache if it exists.
cachedIds - Variable in class org.ov4j.hessianImpl.Container
IDs kept in cache.
CachedResultId - Class in org.ov4j.cache
ID used for storing and retrieving results in the cache.
CachedResultId() - Constructor for class org.ov4j.cache.CachedResultId
Constructor.
CacheHandler - Class in org.ov4j.cache
This class will handle caching results of calls.
CacheHandler(IContainer<ClassComparable, CachedResultId>) - Constructor for class org.ov4j.cache.CacheHandler
Constructor.
cacheItem(C, Item<T, C>) - Method in class org.ov4j.hessianImpl.Container
Add an item to the cache.
call(long) - Method in class org.ov4j.cache.MethodCaller
Start the threads to perform the call.
callDone(RetryableCall) - Method in class org.ov4j.retry.RetryHandler
The call is done, remove it from cache.
checkMemory() - Static method in class org.ov4j.Config
 
ClassComparable - Class in org.ov4j.data
Container allowing to store any object in versions.
ClassComparable() - Constructor for class org.ov4j.data.ClassComparable
Constructor.
ClassComparableComparisonResult - Class in org.ov4j.comp
Class used to compare 2 ClassComparable objects.
ClassComparableComparisonResult() - Constructor for class org.ov4j.comp.ClassComparableComparisonResult
 
clear() - Method in class org.ov4j.cache.CacheHandler
Clear the cache.
clear() - Method in class org.ov4j.Controler
Clear all data in the underlying container.
clear() - Method in class org.ov4j.db4oImpl.Container
Clear the database, will not clear the backups.
clear() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Clear the database, will not clear the backups.
clear() - Method in class org.ov4j.hessianImpl.Container
 
clear() - Method in interface org.ov4j.IContainer
Clear all data in the container.
clear() - Method in class org.ov4j.retry.RetryHandler
Clear all retry data.
clearDeletedIDs() - Method in class org.ov4j.db4oImpl.Container
 
clearDeletedIDs() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
clone() - Method in class org.ov4j.data.ClassComparable
 
clone() - Method in class org.ov4j.data.Item
 
clone() - Method in class org.ov4j.data.Version
 
close() - Method in class org.ov4j.cache.CacheHandler
Close the cache.
close() - Method in class org.ov4j.Controler
Close this controler and its underlying container.
close() - Method in class org.ov4j.db4oImpl.Container
 
close(boolean) - Method in class org.ov4j.db4oImpl.Container
Close the container, possibly removing shutdown hook.
close() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
close(boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Close the container, possibly removing shutdown hook.
close() - Method in class org.ov4j.hessianImpl.Container
 
close(boolean) - Method in class org.ov4j.hessianImpl.Container
 
close() - Method in interface org.ov4j.IContainer
Close the container.
close() - Method in class org.ov4j.retry.RetryHandler
Close the handler.
closed - Variable in class org.ov4j.hessianImpl.Container
Flag to indicate if DB is closed.
closing - Variable in class org.ov4j.hessianImpl.Container
Flag for closing.
commit(CachedResultId, Version<ClassComparable>) - Method in class org.ov4j.cache.CacheHandler
Commit the result in cache.
commit(C, Version<T>) - Method in class org.ov4j.Controler
Commit changes to the given object.
commit(C, Version<T>, Class<? extends ComparisonResult<? super T>>) - Method in class org.ov4j.Controler
Commit changes to the given object.
commit(C, Version<T>, Class<? extends ComparisonResult<? super T>>, int) - Method in class org.ov4j.Controler
Commit changes to the given object using the specified class to determine if commit is needed.
commit(C, Version<T>, int) - Method in class org.ov4j.Controler
Commit changes to the given object.
commit() - Method in class org.ov4j.db4oImpl.Container
 
commit() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
commit() - Method in class org.ov4j.hessianImpl.Container
 
commit() - Method in interface org.ov4j.IContainer
Commit all changes.
compare(Version<T>, Version<T>, boolean) - Method in class org.ov4j.Controler
Compare 2 versions after determining which class to use.
compare(Version<T>, Version<T>, Class<? extends ComparisonResult<? super T>>, boolean) - Method in class org.ov4j.Controler
Compare 2 versions using the specified class.
compareTo(CachedResultId) - Method in class org.ov4j.cache.CachedResultId
 
compareTo(ClassComparable) - Method in class org.ov4j.data.ClassComparable
 
compareTo(Version<T>) - Method in class org.ov4j.data.Version
 
compareTo(RetryableCall) - Method in class org.ov4j.retry.RetryableCall
 
compareTo(RetryableCallId) - Method in class org.ov4j.retry.RetryableCallId
 
ComparisonResult<T> - Class in org.ov4j.comp
Base class for comparing objects.
ComparisonResult() - Constructor for class org.ov4j.comp.ComparisonResult
Constructor.
compute() - Method in class org.ov4j.comp.ClassComparableComparisonResult
 
compute() - Method in class org.ov4j.comp.ComparisonResult
Perform metric computation.
compute() - Method in class org.ov4j.comp.DefaultComparisonResult
 
compute() - Method in class org.ov4j.comp.DummyComparisonResult
 
compute() - Method in class org.ov4j.comp.NumericComparisonResult
 
compute() - Method in class org.ov4j.comp.SentenceComparisonResult
 
compute() - Method in class org.ov4j.comp.StringComparisonResult
 
compute() - Method in class org.ov4j.comp.URIComparisonResult
 
compute() - Method in class org.ov4j.comp.VersionComparisonResult
 
computeSimilitude() - Method in class org.ov4j.comp.StringComparisonResult
Compute the similitude.
Config - Class in org.ov4j
Configuration bundle, will load the first ov4j.properties file found in the classpath.
configure() - Method in class org.ov4j.db4oImpl.Container
Configure database, subclasses should overload this method, but still call super.configure() so that everything is configured correctly.
configure() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Configure database, subclasses should overload this method, but still call super.configure() so that everything is configured correctly.
Container<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j.db4oImpl
IContainer implementation using DB4O database for adta and DB4O extended memory database for mapping IDs.
Container(String, long, long, long, long) - Constructor for class org.ov4j.db4oImpl.Container
Constructor.
Container<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j.hessianImpl
 
Container(String, long, long) - Constructor for class org.ov4j.hessianImpl.Container
Constructor.
Controler<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j
Main access to the versioning system.
Controler(IContainer<T, C>) - Constructor for class org.ov4j.Controler
Instantiate a Controler using the specified container to store its data.
counter - Variable in class org.ov4j.hessianImpl.Container
Next filename to assign.

D

db - Variable in class org.ov4j.db4oImpl.Container
Database storing data.
db - Variable in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. The data storing database.
dbName - Variable in class org.ov4j.hessianImpl.Container
Name of the DB.
DefaultComparisonResult - Class in org.ov4j.comp
Default class for comparing objects, will only call Object.equals() to perform comparison.
DefaultComparisonResult() - Constructor for class org.ov4j.comp.DefaultComparisonResult
 
defragment() - Method in class org.ov4j.db4oImpl.Container
Taken from Db4o's Defragment tool, see Db4o licenses for usage.
DelayedCacher - Class in org.ov4j.cache
This is the background thread which will cache results.
DelayedCacher(MethodCaller, Version<ClassComparable>, long, CachedResultId, CacheHandler, boolean) - Constructor for class org.ov4j.cache.DelayedCacher
Constructor.
delete(C) - Method in class org.ov4j.Controler
Removes all versions of the given id.
delete(Item<T, C>, boolean) - Method in class org.ov4j.db4oImpl.Container
 
delete(Item<T, C>, boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
delete(Item<T, C>, boolean) - Method in class org.ov4j.hessianImpl.Container
 
delete(Item<T, C>, boolean) - Method in interface org.ov4j.IContainer
Delete the item.
DELETED_FOLDER - Static variable in class org.ov4j.hessianImpl.Container
Folder name where to store deleted ids.
deletedIds() - Method in class org.ov4j.Controler
Retrieve list of IDs that have been deleted.
deletedIds() - Method in class org.ov4j.db4oImpl.Container
 
deletedIds() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
deletedIds() - Method in class org.ov4j.hessianImpl.Container
 
deletedIds() - Method in interface org.ov4j.IContainer
Retrieve list of IDs that have been deleted.
deletedIdsSince(long) - Method in class org.ov4j.Controler
Retrieve a list of IDs that have been deleted since the given timestamp.
deletedIdsSince(long) - Method in class org.ov4j.db4oImpl.Container
 
deletedIdsSince(long) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
deletedIdsSince(long) - Method in class org.ov4j.hessianImpl.Container
 
deletedIdsSince(long) - Method in interface org.ov4j.IContainer
Retrieve a list of IDs that have been deleted since the given timestamp.
deletedMap - Variable in class org.ov4j.hessianImpl.Container
Current live deleted ID to filename Map.
deletedMapWrk - Variable in class org.ov4j.hessianImpl.Container
Current work deleted ID to filename Map.
diff(C, Version<T>) - Method in class org.ov4j.Controler
Will perform a diff, trying to determine the class of the comparison result by appending ComparisonResult to the versionedObject classname.
diff(C, Version<T>, Class<? extends ComparisonResult<? super T>>) - Method in class org.ov4j.Controler
Compares the new version to the latest version of object with the given id.
DirFileFilter - Class in org.ov4j.hessianImpl
 
DirFileFilter() - Constructor for class org.ov4j.hessianImpl.DirFileFilter
 
discard(C) - Method in class org.ov4j.Controler
Remove all version and do not keep ID in history.
discardChanges() - Method in class org.ov4j.Controler
Discard all changes made since the last save.
DummyComparisonResult - Class in org.ov4j.comp
This class does not really compare objects, it will always determine that compared objects are different.
DummyComparisonResult() - Constructor for class org.ov4j.comp.DummyComparisonResult
 
duplicate(IContainer<T, C>) - Method in class org.ov4j.db4oImpl.Container
Converts the given IContainer into an hessian implementation.
duplicate(IContainer<T, C>) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Converts the given IContainer into an hessian implementation.
duplicate(IContainer<T, C>) - Method in class org.ov4j.hessianImpl.Container
Converts the given IContainer into an hessian implementation.
duplicate(IContainer<T, C>) - Method in interface org.ov4j.IContainer
Converts the given IContainer into an hessian implementation.

E

EMPTY_ARRAY - Static variable in class org.ov4j.data.Item
Empty Item array.
EMPTY_ARRAY - Static variable in class org.ov4j.data.Version
 
EMPTY_COMPARABLE_ARRAY - Static variable in class org.ov4j.hessianImpl.Container
Empty Comparable array.
enoughFree() - Static method in class org.ov4j.Config
 
equals(Object) - Method in class org.ov4j.cache.CachedResultId
 
equals(Object) - Method in class org.ov4j.data.ClassComparable
 
equals(Object) - Method in class org.ov4j.data.Item
 
equals(Object) - Method in class org.ov4j.data.Version
 
equals(Object) - Method in class org.ov4j.retry.RetryableCall
 
equals(Object) - Method in class org.ov4j.retry.RetryableCallId
 
ERROR_COMMENT - Static variable in class org.ov4j.cache.CacheHandler
Comment for error.
evaluate(Candidate) - Method in class org.ov4j.db4oImpl.MultipleIDValidator
Evaluates whether or not the candidate should be included in the results.

F

fastCompute() - Method in class org.ov4j.comp.ClassComparableComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.ComparisonResult
Perform fast computation, only setting precision to 1.0 to indicate that both items are the same or to anything else otherwise.
fastCompute() - Method in class org.ov4j.comp.DefaultComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.DummyComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.NumericComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.SentenceComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.StringComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.URIComparisonResult
 
fastCompute() - Method in class org.ov4j.comp.VersionComparisonResult
 
fetch(C, int) - Method in class org.ov4j.Controler
Fetch the given version of object with the given id.
fetch(C, int[]) - Method in class org.ov4j.Controler
Fetch the given versions of object with the given id.
filenameToId(String) - Method in class org.ov4j.hessianImpl.Container
Generate ID from filename.
findComparisonResultClass(C) - Static method in class org.ov4j.comp.ComparisonResult
Find class to use to compare instances of the given object.
findComparisonResultClass(Version<T>) - Method in class org.ov4j.Controler
Find the Class to use for comparing this version, will replace "data" by "comp" in the package name and add "ComparisonResult" to the class of the versions's versioned object.
findInstance(String) - Method in class org.ov4j.retry.RetryHandler
Find an instance of the given class.
FOLDER_FILTER - Static variable in class org.ov4j.hessianImpl.Container
FileFilter accepting folder files.

G

GC_LOCK - Static variable in class org.ov4j.Config
 
getArgs() - Method in class org.ov4j.cache.CachedResultId
 
getArgs() - Method in class org.ov4j.retry.RetryableCall
 
getArgs() - Method in class org.ov4j.retry.RetryableCallId
 
getArgs() - Method in class org.ov4j.retry.RetryableCallResult
 
getArgs(Long) - Method in class org.ov4j.retry.RetryHandler
Retrieve the arguments from cache.
getAuthor() - Method in class org.ov4j.data.Version
 
getAvailableMemory() - Static method in class org.ov4j.Config
 
getBlockSize() - Static method in class org.ov4j.db4oImpl.Container
 
getBlockSize() - Static method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
getChanged() - Method in class org.ov4j.comp.ComparisonResult
 
getClassName() - Method in class org.ov4j.retry.RetryableCall
 
getClassName() - Method in class org.ov4j.retry.RetryableCallId
 
getClassName() - Method in class org.ov4j.retry.RetryableCallResult
 
getComment() - Method in class org.ov4j.data.Version
 
getDelayedCacheTimeout() - Method in class org.ov4j.cache.CacheHandler
 
getError() - Method in class org.ov4j.cache.MethodCaller
 
getFalseNegatives() - Method in class org.ov4j.comp.ComparisonResult
 
getFalsePositives() - Method in class org.ov4j.comp.ComparisonResult
 
getId() - Method in class org.ov4j.data.Item
 
getId() - Method in class org.ov4j.db4oImpl.MappedField
 
getLatest() - Method in class org.ov4j.data.Item
 
getLatestBefore(long) - Method in class org.ov4j.data.Item
 
getMatches() - Method in class org.ov4j.comp.ComparisonResult
 
getMaximumRetries() - Method in class org.ov4j.retry.RetryHandler
 
getMethod() - Method in class org.ov4j.cache.CachedResultId
 
getMethod() - Method in class org.ov4j.retry.RetryableCall
 
getMethod() - Method in class org.ov4j.retry.RetryableCallResult
 
getMethodName() - Method in class org.ov4j.retry.RetryableCallId
 
getModificationStamp() - Method in class org.ov4j.data.Item
 
getModificationStamp() - Method in class org.ov4j.db4oImpl.MappedField
 
getNumRetries() - Method in class org.ov4j.retry.RetryableCall
 
getNumRetries() - Method in class org.ov4j.retry.RetryableCallResult
 
getObject() - Method in class org.ov4j.db4oImpl.MappedField
 
getOriginal() - Method in class org.ov4j.comp.ComparisonResult
 
getPrecision() - Method in class org.ov4j.comp.ComparisonResult
 
getRecall() - Method in class org.ov4j.comp.ComparisonResult
 
getResult() - Method in class org.ov4j.retry.RetryableCallResult
 
getRetryInterval() - Method in class org.ov4j.retry.RetryHandler
 
getSimilitude() - Method in class org.ov4j.comp.StringComparisonResult
 
getString(String) - Static method in class org.ov4j.Config
Retrieve a string from the resource bundle.
getTheCall() - Method in class org.ov4j.retry.RetryCaller
 
getTheObject() - Method in class org.ov4j.data.ClassComparable
 
getTheResult() - Method in class org.ov4j.cache.MethodCaller
 
getTheResult() - Method in class org.ov4j.retry.RetryCaller
 
getTheVersion() - Method in class org.ov4j.cache.DelayedCacher
 
getTimeout() - Method in class org.ov4j.cache.CacheHandler
 
getVersionedObject() - Method in class org.ov4j.data.Version
 
getVersionNumber() - Method in class org.ov4j.data.Version
 
getVersionRollover() - Method in class org.ov4j.cache.CacheHandler
 
getVersionRollover() - Method in class org.ov4j.Controler
Retrieve the number of versions kept for historical purposes.
getVersionRollover() - Method in class org.ov4j.retry.RetryHandler
 
getVersions() - Method in class org.ov4j.data.Item
 
getVersionTimestamp() - Method in class org.ov4j.data.Version
 

H

hasFailed() - Method in class org.ov4j.cache.MethodCaller
 
hashCode() - Method in class org.ov4j.cache.CachedResultId
 
hashCode() - Method in class org.ov4j.data.ClassComparable
 
hashCode() - Method in class org.ov4j.data.Item
 
hashCode() - Method in class org.ov4j.data.Version
 
hashCode() - Method in class org.ov4j.retry.RetryableCall
 
hashCode() - Method in class org.ov4j.retry.RetryableCallId
 
hasTimedout() - Method in class org.ov4j.cache.DelayedCacher
 
hasTimedout() - Method in class org.ov4j.cache.MethodCaller
 
hookThread - Variable in class org.ov4j.hessianImpl.Container
Shutdown hook to make sure memory is saved to file when VM shuts down.

I

ICacheHandlerListener - Interface in org.ov4j.cache
Interface to implement to be notified of cache events.
IContainer<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Interface in org.ov4j
Interface to implement to serve as data storage for controler.
idMap - Variable in class org.ov4j.hessianImpl.Container
Current live ID to filename Map.
idMapWrk - Variable in class org.ov4j.hessianImpl.Container
Current work ID to filename Map.
idToFilename(C) - Method in class org.ov4j.hessianImpl.Container
Generate filename for given ID.
inUse(C) - Method in class org.ov4j.Controler
Determine if the given id is already in use.
inUse(C) - Method in class org.ov4j.db4oImpl.Container
 
inUse(C) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
inUse(C) - Method in class org.ov4j.hessianImpl.Container
 
inUse(C) - Method in interface org.ov4j.IContainer
Determine if the given id is in use.
invokeMethod() - Method in class org.ov4j.cache.MethodCaller
Invoke the method.
IRetryable - Interface in org.ov4j.retry
Interface to implement to be able to have methods retried.
isClosed() - Method in class org.ov4j.Controler
Determine if the underlying container has already been closed.
isClosed() - Method in class org.ov4j.db4oImpl.Container
 
isClosed() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
isClosed() - Method in class org.ov4j.hessianImpl.Container
 
isClosed() - Method in interface org.ov4j.IContainer
Determine if the container has already been closed.
Item<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j.data
This is the objects stored in the system, it holds all versions for a given ID.
Item() - Constructor for class org.ov4j.data.Item
Constructor.
ITEM_FOLDER - Static variable in class org.ov4j.hessianImpl.Container
Folder name where to store items.

K

KEEP_TRYING - Static variable in interface org.ov4j.retry.IRetryable
Keep retrying the call.

L

latest(CachedResultId) - Method in class org.ov4j.cache.CacheHandler
Fetch latest result for the given ID.
latest(C) - Method in class org.ov4j.Controler
Fetch the latest version of the object with given id.
latest(C, int) - Method in class org.ov4j.Controler
Fetch the latest version of the object with given id before the given timestamp.
latests(C[]) - Method in class org.ov4j.Controler
Fetch the latest versions of every id specified.
latests(C[], int) - Method in class org.ov4j.Controler
Fetch the latest versions of every id specified before the given timestamp.
listModifiedSince(long) - Method in class org.ov4j.Controler
List the latest versions modified since the given timestamp.
listModifiedSince(long) - Method in class org.ov4j.db4oImpl.Container
 
listModifiedSince(long) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
listModifiedSince(long) - Method in class org.ov4j.hessianImpl.Container
 
listModifiedSince(long) - Method in interface org.ov4j.IContainer
List all items modified since the given timestamp.
LIVE_FOLDER - Static variable in class org.ov4j.hessianImpl.Container
Folder name where to store live data.
liveDeleted - Variable in class org.ov4j.hessianImpl.Container
Live deleted ids folder.
liveItems - Variable in class org.ov4j.hessianImpl.Container
Live items folder.
load(C, boolean) - Method in class org.ov4j.db4oImpl.Container
 
load(C[], boolean) - Method in class org.ov4j.db4oImpl.Container
 
load(C, boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
load(C[], boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
load(C, boolean) - Method in class org.ov4j.hessianImpl.Container
 
load(C[], boolean) - Method in class org.ov4j.hessianImpl.Container
 
load(C, boolean) - Method in interface org.ov4j.IContainer
Load an item using its id.
load(C[], boolean) - Method in interface org.ov4j.IContainer
Load multiple items at once, using the specified ids.
LoadThread<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j
 
LoadThread(List<Item<T, C>>, IContainer, C, boolean) - Constructor for class org.ov4j.LoadThread
 

M

mapDB - Variable in class org.ov4j.db4oImpl.Container
Database storing map of IDs.
mapDB - Variable in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. The ID map database.
MappedField - Class in org.ov4j.db4oImpl
This class is used for mapping fields to internal unique ids for fast retrieval.
MappedField() - Constructor for class org.ov4j.db4oImpl.MappedField
 
MAX_CACHE_TIME - Static variable in class org.ov4j.hessianImpl.Container
Maximum amount of time an item will stay cached before being uncached automatically.
MAX_ITEM_CACHED - Static variable in class org.ov4j.hessianImpl.Container
Maximum number of items to cache.
MAX_LOADTHREAD - Static variable in class org.ov4j.hessianImpl.Container
Maximum number of items to cache.
MAX_RETRY - Static variable in class org.ov4j.hessianImpl.Container
Maximum number of save retries when encountering ConcurrentModificationException.
maxRetriesReached(RetryableCallResult) - Method in interface org.ov4j.retry.IRetryable
The maximum number of retries has been reached.
MemoryContainer<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable,C extends java.lang.Comparable<? super C>> - Class in org.ov4j.db4oImpl
Deprecated. The MemoryContainer relied on the db4o replication mechanisms which is now external in dRS, the MemoryContainer will no longer be extended.
MemoryContainer(String, long, long) - Constructor for class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Constructor.
MethodCaller - Class in org.ov4j.cache
This class performs the method calls.
MethodCaller(Method, Object, Object...) - Constructor for class org.ov4j.cache.MethodCaller
Constructor.
MIN_MEMORY - Static variable in class org.ov4j.Config
 
modifiedSince(long) - Method in class org.ov4j.Controler
Fetch the latest versions modified since the given timestamp.
modifiedSince(long, boolean) - Method in class org.ov4j.db4oImpl.Container
 
modifiedSince(long, boolean) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
modifiedSince(long, boolean) - Method in class org.ov4j.hessianImpl.Container
 
modifiedSince(long, boolean) - Method in interface org.ov4j.IContainer
Load all items modified since the given timestamp.
MultipleIDValidator<C extends java.lang.Comparable<? super C>> - Class in org.ov4j.db4oImpl
This class is used to validate multiple IDs at once.
MultipleIDValidator(C[]) - Constructor for class org.ov4j.db4oImpl.MultipleIDValidator
Constructor.

N

NO_ROLLOVER - Static variable in class org.ov4j.data.Item
Use this version rollover to keep whole history.
NORMAL_COMMENT - Static variable in class org.ov4j.cache.CacheHandler
Comment on normal cache.
normalizeURI(URI) - Static method in class org.ov4j.comp.URIComparisonResult
Normalize the URI so it can be sorted and compared.
NumericComparisonResult<T extends java.lang.Number> - Class in org.ov4j.comp
This class is used to compare numeric values.
NumericComparisonResult() - Constructor for class org.ov4j.comp.NumericComparisonResult
 
numFalseNegatives() - Method in class org.ov4j.comp.ComparisonResult
 
numFalsePositives() - Method in class org.ov4j.comp.ComparisonResult
 
numMatches() - Method in class org.ov4j.comp.ComparisonResult
 
numVersions() - Method in class org.ov4j.data.Item
 

O

org.ov4j - package org.ov4j
 
org.ov4j.cache - package org.ov4j.cache
 
org.ov4j.comp - package org.ov4j.comp
 
org.ov4j.data - package org.ov4j.data
 
org.ov4j.db4oImpl - package org.ov4j.db4oImpl
 
org.ov4j.hessianImpl - package org.ov4j.hessianImpl
 
org.ov4j.retry - package org.ov4j.retry
 

P

pendingSaves - Variable in class org.ov4j.hessianImpl.Container
Number of pending save or delete operations.
pendingTasks - Variable in class org.ov4j.hessianImpl.Container
List of pending tasks to execute.
populateDeletedMap() - Method in class org.ov4j.hessianImpl.Container
Populate the deleted ID map from files.
populateIdMap() - Method in class org.ov4j.hessianImpl.Container
Populate the ID map from files.

R

recentMap - Variable in class org.ov4j.hessianImpl.Container
Recently loaded cache.
register(Class<?>, IRetryable) - Method in class org.ov4j.retry.RetryHandler
Registers the instance to receive retry callbacks.
release(Object) - Method in class org.ov4j.db4oImpl.Container
 
release(Object) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
release(Object) - Method in class org.ov4j.hessianImpl.Container
 
release(Object) - Method in interface org.ov4j.IContainer
Release the object so it can be garbage collected immediately.
removeListener(ICacheHandlerListener) - Method in class org.ov4j.cache.CacheHandler
Unregister listener for notifications.
resolveConflict(ReplicationProcess, Object, Object) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Always returns object A as replication is always used to backup in peer B.
ResultFetcher - Class in org.ov4j.cache
 
ResultFetcher(TreeMap<CachedResultId, Version<ClassComparable>>, Controler<ClassComparable, CachedResultId>, CachedResultId) - Constructor for class org.ov4j.cache.ResultFetcher
 
retry(Method, Object, Object...) - Method in class org.ov4j.retry.RetryHandler
Retry a call.
RetryableCall - Class in org.ov4j.retry
This class holds information about a call which can be retried.
RetryableCall() - Constructor for class org.ov4j.retry.RetryableCall
Constructor.
RetryableCallId - Class in org.ov4j.retry
This class is used as ID for storing RetryableCall objects.
RetryableCallId() - Constructor for class org.ov4j.retry.RetryableCallId
Constructor.
RetryableCallResult - Class in org.ov4j.retry
This class holds information about the result of a retried call.
RetryableCallResult(RetryableCall, Object, Object...) - Constructor for class org.ov4j.retry.RetryableCallResult
Constructor.
retryCallback(RetryableCallResult) - Method in interface org.ov4j.retry.IRetryable
The call is done.
RetryCaller - Class in org.ov4j.retry
This class performs the retriable calls.
RetryCaller(RetryableCall, RetryHandler) - Constructor for class org.ov4j.retry.RetryCaller
Constructor.
RetryHandler - Class in org.ov4j.retry
This is the main handler of all retried calls.
RetryHandler(IContainer<ClassComparable, RetryableCallId>, IContainer<ClassComparable, Long>) - Constructor for class org.ov4j.retry.RetryHandler
Constructor.
revIdMap - Variable in class org.ov4j.hessianImpl.Container
Current live filename to ID map.
revIdMapWrk - Variable in class org.ov4j.hessianImpl.Container
Current work filename to ID map.
rollback() - Method in class org.ov4j.db4oImpl.Container
 
rollback() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
rollback() - Method in class org.ov4j.hessianImpl.Container
 
rollback() - Method in interface org.ov4j.IContainer
Rollback and discard all changes since last commit.
run() - Method in class org.ov4j.cache.DelayedCacher
Perform caching.
run() - Method in class org.ov4j.cache.ResultFetcher
 
run() - Method in class org.ov4j.LoadThread
 
run() - Method in class org.ov4j.retry.RetryCaller
Will retry the call the specified number of times and will notify the instance when it reaches the maximum number of retries or it has a successful result.
runningPendingTasks - Variable in class org.ov4j.hessianImpl.Container
Flag for performing pending tasks.

S

save(Item<T, C>) - Method in class org.ov4j.db4oImpl.Container
 
save(Item<T, C>) - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
save(Item<T, C>) - Method in class org.ov4j.hessianImpl.Container
 
save(Item<T, C>) - Method in interface org.ov4j.IContainer
Save the item.
saveChanges() - Method in class org.ov4j.Controler
Save all changes in the container.
saveLock - Variable in class org.ov4j.hessianImpl.Container
Lock used to avoid concurrent saving
SentenceComparisonResult - Class in org.ov4j.comp
This class is used to compare sentences, or any group of words.
SentenceComparisonResult() - Constructor for class org.ov4j.comp.SentenceComparisonResult
 
setArgs(Object) - Method in class org.ov4j.cache.CachedResultId
 
setArgs(Long) - Method in class org.ov4j.retry.RetryableCall
 
setArgs(Long) - Method in class org.ov4j.retry.RetryableCallId
 
setArgs(Object[]) - Method in class org.ov4j.retry.RetryableCallResult
 
setAuthor(String) - Method in class org.ov4j.data.Version
 
setBlockSize(int) - Static method in class org.ov4j.db4oImpl.Container
 
setBlockSize(int) - Static method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
setChanged(T) - Method in class org.ov4j.comp.ComparisonResult
 
setClassName(String) - Method in class org.ov4j.retry.RetryableCall
 
setClassName(String) - Method in class org.ov4j.retry.RetryableCallId
 
setClassName(String) - Method in class org.ov4j.retry.RetryableCallResult
 
setComment(String) - Method in class org.ov4j.data.Version
 
setDelayedCacheTimeout(long) - Method in class org.ov4j.cache.CacheHandler
 
setFalseNegatives(Object[]) - Method in class org.ov4j.comp.ComparisonResult
 
setFalsePositives(Object[]) - Method in class org.ov4j.comp.ComparisonResult
 
setId(C) - Method in class org.ov4j.data.Item
 
setId(long) - Method in class org.ov4j.db4oImpl.MappedField
 
setLatest(Version<T>) - Method in class org.ov4j.data.Item
 
setMatches(ComparisonResult<?>[]) - Method in class org.ov4j.comp.ComparisonResult
 
setMaximumRetries(int) - Method in class org.ov4j.retry.RetryHandler
 
setMethod(String) - Method in class org.ov4j.cache.CachedResultId
 
setMethod(Method) - Method in class org.ov4j.retry.RetryableCall
 
setMethod(Method) - Method in class org.ov4j.retry.RetryableCallResult
 
setMethodName(String) - Method in class org.ov4j.retry.RetryableCallId
 
setModificationStamp(long) - Method in class org.ov4j.data.Item
 
setModificationStamp(long) - Method in class org.ov4j.db4oImpl.MappedField
 
setNumRetries(int) - Method in class org.ov4j.retry.RetryableCall
 
setNumRetries(int) - Method in class org.ov4j.retry.RetryableCallResult
 
setObject(Object) - Method in class org.ov4j.db4oImpl.MappedField
 
setOffline(boolean) - Method in interface org.ov4j.cache.ICacheHandlerListener
The offline mode is changing.
setOriginal(T) - Method in class org.ov4j.comp.ComparisonResult
 
setPrecision(double) - Method in class org.ov4j.comp.ComparisonResult
 
setRecall(double) - Method in class org.ov4j.comp.ComparisonResult
 
setResult(Object) - Method in class org.ov4j.retry.RetryableCallResult
 
setRetryInterval(long) - Method in class org.ov4j.retry.RetryHandler
 
setSimilitude(double) - Method in class org.ov4j.comp.StringComparisonResult
 
setTheCall(RetryableCall) - Method in class org.ov4j.retry.RetryCaller
 
setTheObject(Object) - Method in class org.ov4j.data.ClassComparable
 
setTheResult(Object) - Method in class org.ov4j.retry.RetryCaller
 
setTimedout(boolean) - Method in class org.ov4j.cache.DelayedCacher
 
setTimedout(boolean) - Method in class org.ov4j.cache.MethodCaller
 
setTimeout(long) - Method in class org.ov4j.cache.CacheHandler
 
setVersionedObject(T) - Method in class org.ov4j.data.Version
 
setVersionNumber(int) - Method in class org.ov4j.data.Version
 
setVersionRollover(int) - Method in class org.ov4j.cache.CacheHandler
 
setVersionRollover(int) - Method in class org.ov4j.Controler
Set the number of versions kept for historical purposes.
setVersionRollover(int) - Method in class org.ov4j.retry.RetryHandler
 
setVersions(Version<T>[]) - Method in class org.ov4j.data.Item
 
setVersionTimestamp(long) - Method in class org.ov4j.data.Version
 
StdFileFilter - Class in org.ov4j.hessianImpl
 
StdFileFilter() - Constructor for class org.ov4j.hessianImpl.StdFileFilter
 
StdFileFilter(String) - Constructor for class org.ov4j.hessianImpl.StdFileFilter
 
STOP_TRYING - Static variable in interface org.ov4j.retry.IRetryable
Stop retrying the call.
StringComparisonResult - Class in org.ov4j.comp
This class is used to compare 2 strings as character sequences.
StringComparisonResult() - Constructor for class org.ov4j.comp.StringComparisonResult
 

T

theTimer - Variable in class org.ov4j.cache.DelayedCacher
Task which will set the timeout flag after the timeout period.
theTimer - Variable in class org.ov4j.cache.MethodCaller
Task setting timeout flag after the timeout period.
TIMEOUT_COMMENT - Static variable in class org.ov4j.cache.CacheHandler
Comment for timeouts
toString() - Method in class org.ov4j.cache.CachedResultId
 
toString() - Method in class org.ov4j.data.ClassComparable
 
toString() - Method in class org.ov4j.data.Item
 
toString() - Method in class org.ov4j.data.Version
 
toString() - Method in class org.ov4j.db4oImpl.Container
Returns a string representation of this Container.
toString() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Returns a string representation of this Container.
toString() - Method in class org.ov4j.hessianImpl.Container
Returns a string representation of this Container.
toString() - Method in class org.ov4j.retry.RetryableCall
 
toString() - Method in class org.ov4j.retry.RetryableCallId
 
toString() - Method in class org.ov4j.retry.RetryableCallResult
 
TRY_NEXT_RUN - Static variable in interface org.ov4j.retry.IRetryable
Stop retrying the call for now, but retry next time the VM is started.
TStampFileFilter - Class in org.ov4j.hessianImpl
 
TStampFileFilter(long) - Constructor for class org.ov4j.hessianImpl.TStampFileFilter
 

U

uncacheItem(C) - Method in class org.ov4j.hessianImpl.Container
Remove an item from cache.
unmapDB - Variable in class org.ov4j.db4oImpl.Container
Database storing map of deleted IDs.
unmapDB - Variable in class org.ov4j.db4oImpl.MemoryContainer
Deprecated. Database storing map of deleted IDs.
unregister(Class<?>) - Method in class org.ov4j.retry.RetryHandler
Unregisters the instance.
URIComparisonResult - Class in org.ov4j.comp
This class is used to compare URIs.
URIComparisonResult() - Constructor for class org.ov4j.comp.URIComparisonResult
 

V

Version<T extends java.io.Serializable & java.lang.Comparable<? super T> & java.lang.Cloneable> - Class in org.ov4j.data
This class represents a version in the system.
Version() - Constructor for class org.ov4j.data.Version
Constructor.
VERSION_FOLDER - Static variable in class org.ov4j.hessianImpl.Container
Folder name where to store versions.
VersionComparisonResult<T extends java.lang.Comparable<? super T> & java.lang.Cloneable & java.io.Serializable> - Class in org.ov4j.comp
This class is used to compare versions.
VersionComparisonResult() - Constructor for class org.ov4j.comp.VersionComparisonResult
 
versions(Version<T>[]) - Method in class org.ov4j.data.Item
 

W

waitForPendingSaves() - Method in class org.ov4j.db4oImpl.Container
 
waitForPendingSaves() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
waitForPendingSaves() - Method in class org.ov4j.hessianImpl.Container
 
waitForPendingSaves() - Method in interface org.ov4j.IContainer
Wait for all saves and deletes pending tasks to finish.
waitForPendingTasks() - Method in class org.ov4j.db4oImpl.Container
 
waitForPendingTasks() - Method in class org.ov4j.db4oImpl.MemoryContainer
Deprecated.  
waitForPendingTasks() - Method in class org.ov4j.hessianImpl.Container
 
waitForPendingTasks() - Method in interface org.ov4j.IContainer
Wait for all tasks pending tasks to finish.
WORK_FOLDER - Static variable in class org.ov4j.hessianImpl.Container
Folder name where to store work data not yet committed.
workDeleted - Variable in class org.ov4j.hessianImpl.Container
Work deleted ids folder.
workItems - Variable in class org.ov4j.hessianImpl.Container
Work items folder.

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

Copyright © 2004-2007 Steve Molloy. All Rights Reserved.