com.sleepycat.je
Interface DatabaseComparator
- All Superinterfaces:
- Comparator<byte[]>, Serializable
- All Known Implementing Classes:
- PersistComparator
public interface DatabaseComparator
- extends Comparator<byte[]>, Serializable
Implemented by btree and duplicate comparators that need to be initialized
before they are used or need access to the environment's ClassLoader
property.
- Since:
- 5.0
Method Summary |
void |
initialize(ClassLoader loader)
Called to initialize a comparator object after it is instantiated or
deserialized, and before it is used. |
initialize
void initialize(ClassLoader loader)
- Called to initialize a comparator object after it is instantiated or
deserialized, and before it is used.
- Parameters:
loader
- is the environment's ClassLoader property.
Copyright (c) 2004-2012 Oracle. All rights reserved.