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

A

ABOVE_TWO_EVEN_SPEC - Static variable in class proai.test.OAIDriverImplTest
 
ABOVE_TWO_ODD_SPEC - Static variable in class proai.test.OAIDriverImplTest
 
ABOVE_TWO_SPEC - Static variable in class proai.test.OAIDriverImplTest
 
addFailure(Connection, String, String, String, String, String) - Method in class proai.cache.RCDatabase
 
addSession(String, Session) - Method in class proai.service.SessionManager
Add a session to the map of tracked sessions.
allSetsFor(String) - Static method in class proai.util.SetSpec
 
anyWorkersAreRunning() - Method in class proai.cache.Updater
 

B

BadArgumentException - Exception in proai.error
 
BadArgumentException() - Constructor for exception proai.error.BadArgumentException
 
BadArgumentException(String) - Constructor for exception proai.error.BadArgumentException
 
BadArgumentException(String, Throwable) - Constructor for exception proai.error.BadArgumentException
 
BadResumptionTokenException - Exception in proai.error
 
BadResumptionTokenException() - Constructor for exception proai.error.BadResumptionTokenException
 
BadResumptionTokenException(String) - Constructor for exception proai.error.BadResumptionTokenException
 
BadResumptionTokenException(String, Throwable) - Constructor for exception proai.error.BadResumptionTokenException
 
BadVerbException - Exception in proai.error
 
BadVerbException() - Constructor for exception proai.error.BadVerbException
 
BadVerbException(String) - Constructor for exception proai.error.BadVerbException
 
BadVerbException(String, Throwable) - Constructor for exception proai.error.BadVerbException
 
BASE_DIR_PROPERTY - Static variable in class proai.driver.impl.OAIDriverImpl
 

C

CachedContent - Class in proai.cache
 
CachedContent(File) - Constructor for class proai.cache.CachedContent
 
CachedContent(File, String, boolean) - Constructor for class proai.cache.CachedContent
 
CachedContent(String) - Constructor for class proai.cache.CachedContent
 
CachedContentAggregate - Class in proai.cache
 
CachedContentAggregate(File, String, RecordCache) - Constructor for class proai.cache.CachedContentAggregate
Expects a file of the following form.
CachedMetadataFormat - Class in proai.cache
 
CachedMetadataFormat(int, String, String, String) - Constructor for class proai.cache.CachedMetadataFormat
 
CachedRecordContentIterator - Class in proai.cache
 
CachedRecordContentIterator(CloseableIterator<String[]>, RCDisk, boolean) - Constructor for class proai.cache.CachedRecordContentIterator
 
CacheSession<T> - Class in proai.service
 
CacheSession(SessionManager, File, int, ListProvider<T>) - Constructor for class proai.service.CacheSession
 
cancel(String) - Method in class proai.cache.RCDisk
Deletes path and all files created after it while pruning any empty directories that come about as a result.
CannotDisseminateFormatException - Exception in proai.error
 
CannotDisseminateFormatException() - Constructor for exception proai.error.CannotDisseminateFormatException
 
CannotDisseminateFormatException(String) - Constructor for exception proai.error.CannotDisseminateFormatException
 
CannotDisseminateFormatException(String, Throwable) - Constructor for exception proai.error.CannotDisseminateFormatException
 
characters(char[], int, int) - Method in class proai.cache.ParsedRecord
 
checkRecords(Iterator<? extends Record>, int[]) - Method in class proai.test.OAIDriverImplTest
 
clean() - Method in class proai.service.CacheSession
Do all possible cleanup for this session.
clean() - Method in interface proai.service.Session
Do all possible cleanup for this session.
clean() - Method in class proai.service.SnapshotSession
Do all possible cleanup for this session.
close() - Method in class proai.cache.CachedRecordContentIterator
 
close() - Method in class proai.cache.QueueIterator
 
close() - Method in class proai.cache.RecordCache
 
close() - Method in class proai.cache.StringResultIterator
 
close() - Method in interface proai.CloseableIterator
 
close() - Method in class proai.driver.impl.OAIDriverImpl
 
close() - Method in class proai.driver.impl.RemoteIteratorImpl
 
close() - Method in interface proai.driver.OAIDriver
Release any resources held by the driver.
close() - Method in interface proai.driver.RemoteIterator
 
close() - Method in class proai.service.Responder
Release any resources held by the session manager and the cache.
close() - Method in class proai.service.SessionManager
 
CloseableIterator<T> - Interface in proai
 
ColumnSpec - Class in proai.util
 
ColumnSpec(String, String, boolean, String, boolean, String, boolean, boolean, String, String, String) - Constructor for class proai.util.ColumnSpec
 
columnSpecIterator() - Method in class proai.util.TableSpec
Gets an iterator over the columns.
Committer - Class in proai.cache
A thread for committing a series of QueueItem updates to the database.
Committer(Updater, RCDatabase, int, int) - Constructor for class proai.cache.Committer
Construct a new committer with the given configuration.
convertLocalDateToUTCDate(Date) - Static method in class proai.util.StreamUtil
 

D

DBUtil - Class in proai.util
 
DBUtil() - Constructor for class proai.util.DBUtil
 
DDLConverter - Interface in proai.util
Interface for a converter of TableSpec objects to RDBMS-specific DDL code.
defaultInfoFor(String) - Static method in class proai.util.SetSpec
 
delete(String) - Method in class proai.cache.RCDisk
 
deleteFile() - Method in class proai.cache.ParsedRecord
 
deleteFormat(Connection, String) - Method in class proai.cache.RCDatabase
 
deletePrunables(Connection, int[], int) - Method in class proai.cache.RCDatabase
Delete one or more items from the prunable list, by database key.
deleteSet(Connection, String) - Method in class proai.cache.RCDatabase
 
destroy() - Method in class proai.service.ProviderServlet
Close the Responder at shutdown-time.
doGet(HttpServletRequest, HttpServletResponse) - Method in class proai.service.ProviderServlet
Entry point for handling OAI requests.
doPost(HttpServletRequest, HttpServletResponse) - Method in class proai.service.ProviderServlet
 
dumpPrunables(Connection, PrintWriter) - Method in class proai.cache.RCDatabase
 
dumpQueue(Connection, PrintWriter) - Method in class proai.cache.RCDatabase
 

E

endElement(String, String, String) - Method in class proai.cache.ParsedRecord
 
endElement(String, String, String) - Method in class proai.util.TableSpecDeserializer
 
ERR_BAD_FORMAT_FOR_ITEM - Static variable in class proai.service.Responder
 
ERR_DATE_FORMAT - Static variable in class proai.service.Responder
 
ERR_FROM_UNTIL - Static variable in class proai.service.Responder
 
ERR_ITEM_DOESNT_EXIST - Static variable in class proai.service.Responder
 
ERR_MISSING_IDENTIFIER - Static variable in class proai.service.Responder
 
ERR_MISSING_PREFIX - Static variable in class proai.service.Responder
 
ERR_NO_FORMATS_FOR_ITEM - Static variable in class proai.service.Responder
 
ERR_NO_RECORDS_MATCH - Static variable in class proai.service.Responder
 
ERR_NO_SET_HIERARCHY - Static variable in class proai.service.Responder
 
ERR_NO_SUCH_FORMAT - Static variable in class proai.service.Responder
 
ERR_RESUMPTION_EXCLUSIVE - Static variable in class proai.service.Responder
 
ERR_RESUMPTION_SESSION - Static variable in class proai.service.SessionManager
 
ERR_RESUMPTION_SYNTAX_INTEGER - Static variable in class proai.service.SessionManager
 
ERR_RESUMPTION_SYNTAX_SLASH - Static variable in class proai.service.SessionManager
 
EXAMPLE_SCHEMAS - Static variable in class proai.cache.RecordCache
 

F

finalize() - Method in class proai.cache.CachedRecordContentIterator
 
finalize() - Method in class proai.cache.RecordCache
Ensure close has occurred at GC-time.
finalize() - Method in class proai.cache.StringResultIterator
 
finalize() - Method in class proai.service.CacheSession
 
finalize() - Method in class proai.service.SessionManager
 
finalize() - Method in class proai.service.SnapshotSession
 
findRecordInfo(Connection, Date, Date, String, String) - Method in class proai.cache.RCDatabase
 
formatExists(String) - Method in class proai.cache.RecordCache
 
FORMATS_DIRNAME - Static variable in class proai.driver.impl.OAIDriverImpl
 

G

getAttemptedCount() - Method in class proai.cache.Worker
 
getBinary() - Method in class proai.util.ColumnSpec
 
getCode() - Method in exception proai.error.BadArgumentException
 
getCode() - Method in exception proai.error.BadResumptionTokenException
 
getCode() - Method in exception proai.error.BadVerbException
 
getCode() - Method in exception proai.error.CannotDisseminateFormatException
 
getCode() - Method in exception proai.error.IdDoesNotExistException
 
getCode() - Method in exception proai.error.NoMetadataFormatsException
 
getCode() - Method in exception proai.error.NoRecordsMatchException
 
getCode() - Method in exception proai.error.NoSetHierarchyException
 
getCode() - Method in exception proai.error.ProtocolException
Get the error code of this exception, as defined by the OAI-PMH.
getConnection() - Static method in class proai.cache.RecordCache
Get a connection from the pool.
getContent(String) - Method in class proai.cache.RCDisk
 
getContent(String, String, boolean) - Method in class proai.cache.RCDisk
 
getDate() - Method in class proai.cache.ParsedRecord
 
getDDL(TableSpec) - Method in interface proai.util.DDLConverter
 
getDDL(TableSpec) - Method in class proai.util.McKoiDDLConverter
 
getDDL(TableSpec) - Method in class proai.util.MySQLDDLConverter
 
getDDL(TableSpec) - Method in class proai.util.OracleDDLConverter
 
getDDL(TableSpec) - Method in class proai.util.PostgresDDLConverter
 
getDefaultValue() - Method in class proai.util.ColumnSpec
 
getDropDDL(String) - Method in interface proai.util.DDLConverter
 
getDropDDL(String) - Method in class proai.util.McKoiDDLConverter
 
getDropDDL(String) - Method in class proai.util.MySQLDDLConverter
 
getDropDDL(String) - Method in class proai.util.OracleDDLConverter
 
getDropDDL(String) - Method in class proai.util.PostgresDDLConverter
 
getEarliestPollDate(Connection) - Method in class proai.cache.RCDatabase
 
getFailCount(Connection, String, String) - Method in class proai.cache.RCDatabase
 
getFailDate() - Method in class proai.cache.QueueItem
 
getFailedCount() - Method in class proai.cache.Worker
 
getFailReason() - Method in class proai.cache.QueueItem
 
getFile(String) - Method in class proai.cache.RCDisk
 
getFile() - Method in class proai.cache.RCDiskWriter
 
getFile(String) - Method in class proai.cache.RecordCache
 
getForeignColumnName() - Method in class proai.util.ColumnSpec
 
getForeignTableName() - Method in class proai.util.ColumnSpec
 
getFormatKeyMap(Connection) - Method in class proai.cache.RCDatabase
Get a map of prefix (String) to formatKey (Integer) for all formats in the database.
getFormats(Connection) - Method in class proai.cache.RCDatabase
 
getFormats(Connection, String) - Method in class proai.cache.RCDatabase
 
getIdentifier() - Method in class proai.cache.QueueItem
 
getIdentifyContent() - Method in class proai.cache.RecordCache
 
getIdentifyPath(Connection) - Method in class proai.cache.RCDatabase
Get the relative path to the Identify.xml file in the cache, or null if identifyPath is null (first update cycle hasn't run).
getIncompleteListSize() - Method in interface proai.service.ListProvider
 
getIncompleteListSize() - Method in class proai.service.RecordListProvider
 
getIncompleteListSize() - Method in class proai.service.SetListProvider
 
getIndexName() - Method in class proai.util.ColumnSpec
 
getItemID() - Method in class proai.cache.ParsedRecord
 
getItemID() - Method in class proai.driver.impl.RecordImpl
 
getItemID() - Method in interface proai.Record
 
getKey() - Method in class proai.cache.CachedMetadataFormat
 
getLastPollDate(Connection, String) - Method in class proai.cache.RCDatabase
 
getLatestDate() - Method in class proai.driver.impl.OAIDriverImpl
 
getLatestDate() - Method in interface proai.driver.OAIDriver
Get the latest date that something changed in the remote repository.
getList() - Method in interface proai.service.ListProvider
 
getList() - Method in class proai.service.RecordListProvider
 
getList() - Method in class proai.service.SetListProvider
 
getLongString(ResultSet, int) - Static method in class proai.util.DBUtil
Get a long string, which could be a TEXT or CLOB type.
getLongValue(Connection, String) - Method in class proai.cache.RCDatabase
Execute the given query and return the long value in the first column of the first row of the ResultSet, or zero if there are no results.
getMDPrefix() - Method in class proai.cache.QueueItem
 
getMetadataFormatsContent(String) - Method in class proai.cache.RecordCache
 
getName() - Method in class proai.util.ColumnSpec
 
getName() - Method in class proai.util.TableSpec
Gets the name of the table.
getNamespaceURI() - Method in class proai.cache.CachedMetadataFormat
 
getNamespaceURI() - Method in class proai.driver.impl.MetadataFormatImpl
 
getNamespaceURI() - Method in interface proai.MetadataFormat
 
getNewWriter() - Method in class proai.cache.RCDisk
Get a new RCDiskWriter backed by a new file in the disk cache.
getNextBatch(List<QueueItem>) - Method in class proai.cache.Updater
 
getOnDeleteAction() - Method in class proai.util.ColumnSpec
 
getParsedRecord() - Method in class proai.cache.QueueItem
 
getPath() - Method in class proai.cache.RCDiskWriter
 
getPathList() - Method in interface proai.service.ListProvider
 
getPathList() - Method in class proai.service.RecordListProvider
 
getPathList() - Method in class proai.service.SetListProvider
 
getPrefix() - Method in class proai.cache.CachedMetadataFormat
 
getPrefix() - Method in class proai.cache.ParsedRecord
 
getPrefix() - Method in class proai.driver.impl.MetadataFormatImpl
 
getPrefix() - Method in class proai.driver.impl.RecordImpl
 
getPrefix() - Method in interface proai.MetadataFormat
 
getPrefix() - Method in interface proai.Record
 
getPrimaryColumnName() - Method in class proai.util.TableSpec
Gets the name of the primary key column.
getProcessedCount() - Method in class proai.cache.Committer
 
getPrunableCount(Connection) - Method in class proai.cache.RCDatabase
 
getQueueKey() - Method in class proai.cache.QueueItem
 
getQueueSize(Connection) - Method in class proai.cache.RCDatabase
 
getQueueSource() - Method in class proai.cache.QueueItem
 
getRecord(String, String) - Method in class proai.service.Responder
Get the response for a GetRecord request.
getRecordCache() - Method in interface proai.service.ListProvider
 
getRecordCache() - Method in class proai.service.RecordListProvider
 
getRecordCache() - Method in class proai.service.SetListProvider
 
getRecordContent(String, String) - Method in class proai.cache.RecordCache
Return the specified record, or null if it doesn't exist.
getRecordInfo(Connection, String, String) - Method in class proai.cache.RCDatabase
 
getRecordsContent(Date, Date, String, String, boolean) - Method in class proai.cache.RecordCache
 
getRecordsPaths(Date, Date, String, String) - Method in class proai.cache.RecordCache
 
getResponseData(int) - Method in class proai.service.CacheSession
Get the named response, wait for it, or throw any exception that has popped up while generating parts.
getResponseData(int) - Method in interface proai.service.Session
Get the indicated response part (starting with zero).
getResponseData(String) - Method in class proai.service.SessionManager
Get response data from the appropriate session and return it.
getResponseData(int) - Method in class proai.service.SnapshotSession
Get the named response, wait for it, or throw any exception that has popped up while generating parts.
getResumptionToken() - Method in interface proai.service.ResponseData
Get the resumption token for the next part if this is one in a series of incomplete list responses (and not the last part).
getResumptionToken() - Method in class proai.service.ResponseDataImpl
 
getSchemaLocation() - Method in class proai.cache.CachedMetadataFormat
 
getSchemaLocation() - Method in class proai.driver.impl.MetadataFormatImpl
 
getSchemaLocation() - Method in interface proai.MetadataFormat
 
getSetInfo(Connection) - Method in class proai.cache.RCDatabase
 
getSetInfoContent() - Method in class proai.cache.RecordCache
 
getSetInfoPaths(Connection) - Method in class proai.cache.RCDatabase
 
getSetInfoPaths() - Method in class proai.cache.RecordCache
 
getSetSpec() - Method in class proai.driver.impl.SetInfoImpl
 
getSetSpec() - Method in interface proai.SetInfo
 
getSetSpecs() - Method in class proai.cache.ParsedRecord
 
getSourceInfo() - Method in class proai.cache.ParsedRecord
 
getSourceInfo() - Method in class proai.cache.QueueItem
 
getSourceInfo() - Method in class proai.driver.impl.RecordImpl
 
getSourceInfo() - Method in interface proai.Record
Get a string that can be used to construct the XML of the record.
getString(InputStream, String) - Static method in class proai.util.StreamUtil
Read the given stream into a String, assuming the given character encoding.
getTableSpecs(InputStream) - Static method in class proai.util.TableSpec
Gets a TableSpec for each table element in the stream, where the stream contains a valid XML document containing one or more table elements, wrapped in the root element.
getTableSpecs() - Method in class proai.util.TableSpecDeserializer
 
getTotalCommitTime() - Method in class proai.cache.Committer
 
getTotalFetchTime() - Method in class proai.cache.Worker
 
getTotalValidationTime() - Method in class proai.cache.Worker
 
getTransactionCount() - Method in class proai.cache.Committer
 
getType() - Method in class proai.util.ColumnSpec
 
getType() - Method in class proai.util.TableSpec
Gets the type of the table.
getVerb() - Method in interface proai.service.ListProvider
 
getVerb() - Method in class proai.service.RecordListProvider
 
getVerb() - Method in class proai.service.SetListProvider
 

H

handleCommitException(Throwable) - Method in class proai.cache.Updater
Handle an exception encountered by currently-running Committer while committing.
handoff(List<QueueItem>) - Method in class proai.cache.Committer
Attempt to add the list of QueueItems to the commit queue and return immediately.
hasExpired() - Method in class proai.service.CacheSession
Has the session expired? If this is true, the session will be cleaned by the reaper thread of the session manager.
hasExpired() - Method in interface proai.service.Session
Has the session expired?
hasExpired() - Method in class proai.service.SnapshotSession
Has the session expired? If this is true, the session will be cleaned by the reaper thread of the session manager.
hasNext() - Method in class proai.cache.CachedRecordContentIterator
 
hasNext() - Method in class proai.cache.QueueIterator
 
hasNext() - Method in class proai.cache.StringResultIterator
 
hasNext() - Method in interface proai.CloseableIterator
 
hasNext() - Method in class proai.driver.impl.RemoteIteratorImpl
 
hasNext() - Method in interface proai.driver.RemoteIterator
 
hasParents(String) - Static method in class proai.util.SetSpec
 

I

IdDoesNotExistException - Exception in proai.error
 
IdDoesNotExistException() - Constructor for exception proai.error.IdDoesNotExistException
 
IdDoesNotExistException(String) - Constructor for exception proai.error.IdDoesNotExistException
 
IdDoesNotExistException(String, Throwable) - Constructor for exception proai.error.IdDoesNotExistException
 
identify() - Method in class proai.service.Responder
Get the response for an Identify request.
IDENTITY_FILENAME - Static variable in class proai.driver.impl.OAIDriverImpl
 
ImmediateShutdownException - Exception in proai.error
Signals that an immediate shutdown has been requested.
ImmediateShutdownException() - Constructor for exception proai.error.ImmediateShutdownException
 
init(Properties) - Method in class proai.driver.impl.OAIDriverImpl
 
init(Properties) - Method in interface proai.driver.OAIDriver
Initialize from properties.
init() - Method in class proai.service.ProviderServlet
 
init(Properties) - Method in class proai.service.ProviderServlet
 
isAutoIncremented() - Method in class proai.util.ColumnSpec
 
isNotNull() - Method in class proai.util.ColumnSpec
 
isPollingEnabled(Connection) - Method in class proai.cache.RCDatabase
 
isUnique() - Method in class proai.util.ColumnSpec
 
isValid(String) - Static method in class proai.util.SetSpec
 
ITEM1 - Static variable in class proai.test.OAIDriverImplTest
 
ITEM2 - Static variable in class proai.test.OAIDriverImplTest
 
ITEM3 - Static variable in class proai.test.OAIDriverImplTest
 
ITEM4 - Static variable in class proai.test.OAIDriverImplTest
 
itemExists(Connection, String) - Method in class proai.cache.RCDatabase
 
itemExists(String) - Method in class proai.cache.RecordCache
 

L

LATEST_DATE - Static variable in class proai.test.OAIDriverImplTest
 
list(ListProvider<T>) - Method in class proai.service.SessionManager
 
listIdentifiers(String, String, String, String, String) - Method in class proai.service.Responder
Get the response for a ListIdentifiers request.
listMetadataFormats() - Method in class proai.driver.impl.OAIDriverImpl
 
listMetadataFormats() - Method in interface proai.driver.OAIDriver
Get an iterator over a list of MetadataFormat objects representing all OAI metadata formats currently supported by the repository.
listMetadataFormats(String) - Method in class proai.service.Responder
Get the response for a ListMetadataFormats request.
ListProvider<T> - Interface in proai.service
 
listRecords(Date, Date, String) - Method in class proai.driver.impl.OAIDriverImpl
 
listRecords(Date, Date, String) - Method in interface proai.driver.OAIDriver
Get an iterator of Record objects representing all records in the format indicated by mdPrefix, which have changed in the given date range.
listRecords(String, String, String, String, String) - Method in class proai.service.Responder
Get the response for a ListRecords request.
listSetInfo() - Method in class proai.driver.impl.OAIDriverImpl
 
listSetInfo() - Method in interface proai.driver.OAIDriver
Get an iterator over a list of SetInfo objects representing all OAI sets currently supported by the repository.
listSets(String) - Method in class proai.service.Responder
Get the response for a ListSets request.

M

main(String[]) - Static method in class proai.test.OAIDriverImplTest
 
main(String[]) - Static method in class proai.test.RecordCacheTest
 
main(String[]) - Static method in class proai.test.ResponderTest
 
McKoiDDLConverter - Class in proai.util
 
McKoiDDLConverter() - Constructor for class proai.util.McKoiDDLConverter
 
MetadataFormat - Interface in proai
 
MetadataFormatImpl - Class in proai.driver.impl
 
MetadataFormatImpl(String, String, String) - Constructor for class proai.driver.impl.MetadataFormatImpl
 
MySQLDDLConverter - Class in proai.util
 
MySQLDDLConverter() - Constructor for class proai.util.MySQLDDLConverter
 

N

next() - Method in class proai.cache.CachedRecordContentIterator
 
next() - Method in class proai.cache.QueueIterator
 
next() - Method in class proai.cache.StringResultIterator
 
next() - Method in interface proai.CloseableIterator
 
next() - Method in class proai.driver.impl.RemoteIteratorImpl
 
next() - Method in interface proai.driver.RemoteIterator
 
NoMetadataFormatsException - Exception in proai.error
 
NoMetadataFormatsException() - Constructor for exception proai.error.NoMetadataFormatsException
 
NoMetadataFormatsException(String) - Constructor for exception proai.error.NoMetadataFormatsException
 
NoMetadataFormatsException(String, Throwable) - Constructor for exception proai.error.NoMetadataFormatsException
 
NoRecordsMatchException - Exception in proai.error
 
NoRecordsMatchException() - Constructor for exception proai.error.NoRecordsMatchException
 
NoRecordsMatchException(String) - Constructor for exception proai.error.NoRecordsMatchException
 
NoRecordsMatchException(String, Throwable) - Constructor for exception proai.error.NoRecordsMatchException
 
NoSetHierarchyException - Exception in proai.error
 
NoSetHierarchyException() - Constructor for exception proai.error.NoSetHierarchyException
 
NoSetHierarchyException(String) - Constructor for exception proai.error.NoSetHierarchyException
 
NoSetHierarchyException(String, Throwable) - Constructor for exception proai.error.NoSetHierarchyException
 
nowUTC() - Static method in class proai.util.StreamUtil
 
nowUTCString() - Static method in class proai.util.StreamUtil
 

O

OAI_DC_LOC - Static variable in class proai.test.OAIDriverImplTest
 
OAI_DC_PREFIX - Static variable in class proai.test.OAIDriverImplTest
 
OAI_DC_URI - Static variable in class proai.test.OAIDriverImplTest
 
OAI_RECORD_SCHEMA_URL - Static variable in class proai.cache.RecordCache
 
OAIDriver - Interface in proai.driver
An interface to a repository.
OAIDriverImpl - Class in proai.driver.impl
An simple OAIDriver for testing/demonstration purposes.
OAIDriverImpl() - Constructor for class proai.driver.impl.OAIDriverImpl
 
OAIDriverImpl(File) - Constructor for class proai.driver.impl.OAIDriverImpl
 
OAIDriverImplTest - Class in proai.test
 
OAIDriverImplTest(String) - Constructor for class proai.test.OAIDriverImplTest
 
OracleDDLConverter - Class in proai.util
 
OracleDDLConverter() - Constructor for class proai.util.OracleDDLConverter
 

P

parentOf(String) - Static method in class proai.util.SetSpec
 
ParsedRecord - Class in proai.cache
 
ParsedRecord(String, String, String, File) - Constructor for class proai.cache.ParsedRecord
 
PATH_DATE_PATTERN - Static variable in class proai.cache.RCDisk
 
pipe(InputStream, OutputStream) - Static method in class proai.util.StreamUtil
Pipe the input stream directly to the output stream.
PostgresDDLConverter - Class in proai.util
This class is based on Hubert Stigler's contribution to the fedora-users mailing list on April 4th, 2006.
PostgresDDLConverter() - Constructor for class proai.util.PostgresDDLConverter
 
PRIME_SPEC - Static variable in class proai.test.OAIDriverImplTest
 
proai - package proai
 
proai.cache - package proai.cache
 
proai.driver - package proai.driver
 
proai.driver.impl - package proai.driver.impl
 
proai.error - package proai.error
 
proai.service - package proai.service
 
proai.test - package proai.test
 
proai.util - package proai.util
 
processingShouldStop() - Method in class proai.cache.Updater
 
PROP_BASEDIR - Static variable in class proai.cache.RecordCache
 
PROP_BASEDIR - Static variable in class proai.service.SessionManager
 
PROP_DB_DRIVERCLASSNAME - Static variable in class proai.cache.RecordCache
 
PROP_DB_MYSQL_TRICKLING - Static variable in class proai.cache.RecordCache
 
PROP_DB_PASSWORD - Static variable in class proai.cache.RecordCache
 
PROP_DB_URL - Static variable in class proai.cache.RecordCache
 
PROP_DB_USERNAME - Static variable in class proai.cache.RecordCache
 
PROP_INCOMPLETEIDENTIFIERLISTSIZE - Static variable in class proai.service.Responder
 
PROP_INCOMPLETERECORDLISTSIZE - Static variable in class proai.service.Responder
 
PROP_INCOMPLETESETLISTSIZE - Static variable in class proai.service.Responder
 
PROP_MAXCOMMITQUEUESIZE - Static variable in class proai.cache.RecordCache
 
PROP_MAXFAILEDRETRIES - Static variable in class proai.cache.RecordCache
 
PROP_MAXRECORDSPERTRANS - Static variable in class proai.cache.RecordCache
 
PROP_MAXWORKBATCHSIZE - Static variable in class proai.cache.RecordCache
 
PROP_MAXWORKERS - Static variable in class proai.cache.RecordCache
 
PROP_OAIDRIVERCLASSNAME - Static variable in class proai.cache.RecordCache
 
PROP_POLLINGENABLED - Static variable in class proai.cache.RecordCache
 
PROP_POLLSECONDS - Static variable in class proai.cache.RecordCache
 
PROP_SCHEMADIR - Static variable in class proai.cache.RecordCache
 
PROP_SECONDSBETWEENREQUESTS - Static variable in class proai.service.SessionManager
 
PROP_VALIDATEUPDATES - Static variable in class proai.cache.RecordCache
 
ProtocolException - Exception in proai.error
 
ProtocolException(String) - Constructor for exception proai.error.ProtocolException
 
ProtocolException(String, Throwable) - Constructor for exception proai.error.ProtocolException
 
ProviderServlet - Class in proai.service
 
ProviderServlet() - Constructor for class proai.service.ProviderServlet
 
pruneEmptyDirs() - Method in class proai.cache.RCDisk
This should be pretty fast.
putFormat(Connection, MetadataFormat) - Method in class proai.cache.RCDatabase
Add or modify the given format.
putRecord(Connection, ParsedRecord, Map<String, Integer>) - Method in class proai.cache.RCDatabase
Add or update a record.
putSetInfo(Connection, String, String) - Method in class proai.cache.RCDatabase
 

Q

queueFailedRecords(Connection, int) - Method in class proai.cache.RCDatabase
Copy all qualifying records from rcFailure to rcQueue.
QueueItem - Class in proai.cache
 
QueueItem(int, String, String, String, char) - Constructor for class proai.cache.QueueItem
 
QueueIterator - Class in proai.cache
 
QueueIterator(File) - Constructor for class proai.cache.QueueIterator
 
queueRemoteRecord(Connection, String, String, String) - Method in class proai.cache.RCDatabase
 
quotedString(String, boolean) - Static method in class proai.util.DBUtil
 

R

RCADMIN_TABLE_IS_EMPTY - Static variable in class proai.cache.RCDatabase
 
RCDatabase - Class in proai.cache
Java interface to the database.
RCDatabase(Connection, DDLConverter, boolean, boolean, boolean, RCDisk) - Constructor for class proai.cache.RCDatabase
 
RCDisk - Class in proai.cache
The file-based portion of the record cache.
RCDisk(File) - Constructor for class proai.cache.RCDisk
 
RCDiskWriter - Class in proai.cache
 
RCDiskWriter(File, String) - Constructor for class proai.cache.RCDiskWriter
 
Record - Interface in proai
 
RecordCache - Class in proai.cache
Main application interface for working with items in the cache, whether in the database or on disk.
RecordCache(Properties) - Constructor for class proai.cache.RecordCache
 
RecordCache(BasicDataSource, DDLConverter, boolean, boolean, boolean, OAIDriver, int, File, int, int, int, int, int, boolean, File) - Constructor for class proai.cache.RecordCache
 
RecordCacheTest - Class in proai.test
 
RecordCacheTest(String) - Constructor for class proai.test.RecordCacheTest
 
RecordImpl - Class in proai.driver.impl
 
RecordImpl(String, String, File) - Constructor for class proai.driver.impl.RecordImpl
 
RecordListProvider - Class in proai.service
 
RecordListProvider(RecordCache, int, boolean, Date, Date, String, String) - Constructor for class proai.service.RecordListProvider
 
RECORDS_DIRNAME - Static variable in class proai.driver.impl.OAIDriverImpl
 
release() - Method in interface proai.service.ResponseData
Release any resources (such as files or locks on other resources) associated with the response data.
release() - Method in class proai.service.ResponseDataImpl
 
releaseConnection(Connection) - Static method in class proai.cache.RecordCache
 
RemoteIterator<T> - Interface in proai.driver
 
RemoteIteratorImpl<T> - Class in proai.driver.impl
 
RemoteIteratorImpl(Iterator<T>) - Constructor for class proai.driver.impl.RemoteIteratorImpl
 
remove() - Method in class proai.cache.CachedRecordContentIterator
 
remove() - Method in class proai.cache.StringResultIterator
 
remove() - Method in interface proai.CloseableIterator
 
remove() - Method in class proai.driver.impl.RemoteIteratorImpl
 
remove() - Method in interface proai.driver.RemoteIterator
 
removeFailure(Connection, String, String) - Method in class proai.cache.RCDatabase
 
removeFromQueue(Connection, int) - Method in class proai.cache.RCDatabase
 
RepositoryException - Exception in proai.error
 
RepositoryException(String) - Constructor for exception proai.error.RepositoryException
 
RepositoryException(String, Throwable) - Constructor for exception proai.error.RepositoryException
 
Responder - Class in proai.service
Provides transport-neutral responses to OAI-PMH requests.
Responder(Properties) - Constructor for class proai.service.Responder
 
Responder(RecordCache, SessionManager, int, int, int) - Constructor for class proai.service.Responder
 
ResponderTest - Class in proai.test
 
ResponderTest(String) - Constructor for class proai.test.ResponderTest
 
ResponseData - Interface in proai.service
The data part of an OAI response.
ResponseDataImpl - Class in proai.service
 
ResponseDataImpl(Writable) - Constructor for class proai.service.ResponseDataImpl
 
ResponseDataImpl(Writable, String) - Constructor for class proai.service.ResponseDataImpl
 
run() - Method in class proai.cache.Committer
Run the thread.
run() - Method in class proai.cache.Updater
 
run() - Method in class proai.cache.Worker
 
run() - Method in class proai.service.CacheSession
 
run() - Method in class proai.service.SessionManager
Session timeout reaper thread.
run() - Method in class proai.service.SnapshotSession
 

S

ServerException - Exception in proai.error
Signals an unexpected condition with the server.
ServerException(String) - Constructor for exception proai.error.ServerException
 
ServerException(String, Throwable) - Constructor for exception proai.error.ServerException
 
Session - Interface in proai.service
 
SessionManager - Class in proai.service
 
SessionManager(Properties) - Constructor for class proai.service.SessionManager
 
SessionManager(File, int) - Constructor for class proai.service.SessionManager
 
setFailDate(String) - Method in class proai.cache.QueueItem
 
setFailReason(String) - Method in class proai.cache.QueueItem
 
setIdentifyPath(Connection, String) - Method in class proai.cache.RCDatabase
 
SetInfo - Interface in proai
 
SetInfoImpl - Class in proai.driver.impl
 
SetInfoImpl(String, File) - Constructor for class proai.driver.impl.SetInfoImpl
 
setLastPollDate(Connection, String, long) - Method in class proai.cache.RCDatabase
 
SetListProvider - Class in proai.service
 
SetListProvider(RecordCache, int) - Constructor for class proai.service.SetListProvider
 
setParsedRecord(ParsedRecord) - Method in class proai.cache.QueueItem
 
setPollingEnabled(Connection, boolean) - Method in class proai.cache.RCDatabase
 
SETS_DIRNAME - Static variable in class proai.driver.impl.OAIDriverImpl
 
SetSpec - Class in proai.util
 
SetSpec() - Constructor for class proai.util.SetSpec
 
setSucceeded(boolean) - Method in class proai.cache.QueueItem
 
setUncommittedRecordDates(Connection, Date) - Method in class proai.cache.RCDatabase
 
setUp() - Method in class proai.test.OAIDriverImplTest
 
setUp() - Method in class proai.test.RecordCacheTest
 
setUp() - Method in class proai.test.ResponderTest
 
shutdown(boolean) - Method in class proai.cache.Updater
Signal that the thread should be shut down and wait for it to finish.
SnapshotSession<T> - Class in proai.service
 
SnapshotSession(SessionManager, File, int, ListProvider<T>) - Constructor for class proai.service.SnapshotSession
 
startElement(String, String, String, Attributes) - Method in class proai.cache.ParsedRecord
 
startElement(String, String, String, Attributes) - Method in class proai.util.TableSpecDeserializer
 
STREAM_BUFFER_SIZE - Static variable in class proai.util.StreamUtil
 
StreamUtil - Class in proai.util
Static methods for working with streams (and strings).
StreamUtil() - Constructor for class proai.util.StreamUtil
 
StringResultIterator - Class in proai.cache
An iterator around a database ResultSet that provides a String[] for each row.
StringResultIterator(Connection, Statement, ResultSet) - Constructor for class proai.cache.StringResultIterator
 
succeeded() - Method in class proai.cache.QueueItem
 
supportsTableType() - Method in interface proai.util.DDLConverter
 
supportsTableType() - Method in class proai.util.McKoiDDLConverter
 
supportsTableType() - Method in class proai.util.MySQLDDLConverter
 
supportsTableType() - Method in class proai.util.OracleDDLConverter
 
supportsTableType() - Method in class proai.util.PostgresDDLConverter
 

T

TableSpec - Class in proai.util
A holder of table specification information that helps in producing RDBMS-generic DDL "CREATE TABLE" commands.
TableSpec(String, List<ColumnSpec>, String) - Constructor for class proai.util.TableSpec
Constructs a TableSpec given a name, a set of ColumnSpecs, and the name of the primary key column.
TableSpec(String, List<ColumnSpec>, String, String) - Constructor for class proai.util.TableSpec
Constructs a TableSpec given a name, a set of ColumnSpecs, the name of the primary key column, and a table type.
TableSpecDeserializer - Class in proai.util
 
TableSpecDeserializer() - Constructor for class proai.util.TableSpecDeserializer
 
tearDown() - Method in class proai.test.OAIDriverImplTest
 
tearDown() - Method in class proai.test.RecordCacheTest
 
tearDown() - Method in class proai.test.ResponderTest
 
TEST_FORMAT_LOC - Static variable in class proai.test.OAIDriverImplTest
 
TEST_FORMAT_PREFIX - Static variable in class proai.test.OAIDriverImplTest
 
TEST_FORMAT_URI - Static variable in class proai.test.OAIDriverImplTest
 
testAll() - Method in class proai.test.ResponderTest
 
testFormats() - Method in class proai.test.OAIDriverImplTest
 
testGetBadRecords() - Method in class proai.test.ResponderTest
 
testGetGoodRecords() - Method in class proai.test.ResponderTest
 
testIdentify() - Method in class proai.test.ResponderTest
 
testIdentity() - Method in class proai.test.OAIDriverImplTest
 
testLatestDate() - Method in class proai.test.OAIDriverImplTest
 
testRecords() - Method in class proai.test.OAIDriverImplTest
 
testSets() - Method in class proai.test.OAIDriverImplTest
 
testUpdate() - Method in class proai.test.RecordCacheTest
 

U

updateFailure(Connection, String, String, String, int, String, String) - Method in class proai.cache.RCDatabase
 
Updater - Class in proai.cache
 
Updater(OAIDriver, RecordCache, RCDatabase, RCDisk, int, int, int, int, int, int, Validator) - Constructor for class proai.cache.Updater
 

W

Worker - Class in proai.cache
 
Worker(int, int, Updater, OAIDriver, RCDisk, Validator) - Constructor for class proai.cache.Worker
 
Writable - Interface in proai
 
WritableWrapper - Class in proai.cache
 
WritableWrapper(String, Writable, String) - Constructor for class proai.cache.WritableWrapper
 
write(PrintWriter) - Method in class proai.cache.CachedContent
 
write(PrintWriter) - Method in class proai.cache.CachedContentAggregate
 
write(Writable) - Method in class proai.cache.RCDisk
Write the content of the given Writable to a new file and return the path of the file, relative to the disk cache base directory.
write(PrintWriter) - Method in class proai.cache.WritableWrapper
 
write(PrintWriter) - Method in class proai.driver.impl.OAIDriverImpl
 
write(PrintWriter) - Method in class proai.driver.impl.SetInfoImpl
 
write(PrintWriter) - Method in interface proai.driver.OAIDriver
Write information about the repository to the given PrintWriter.
write(PrintWriter) - Method in class proai.service.ResponseDataImpl
 
write(PrintWriter) - Method in interface proai.Writable
 
writeAllPaths(PrintWriter) - Method in class proai.cache.RCDisk
 
writeFromFile(File, PrintWriter) - Static method in class proai.driver.impl.OAIDriverImpl
 
writeRecordXML(String, String, String, PrintWriter) - Method in class proai.driver.impl.OAIDriverImpl
 
writeRecordXML(String, String, String, PrintWriter) - Method in interface proai.driver.OAIDriver
Write the XML of the record whose source info is given.

X

xmlEncode(String) - Static method in class proai.util.StreamUtil
 

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