public class DSpaceXOAICacheService extends Object implements XOAICacheService
| Constructor and Description |
|---|
DSpaceXOAICacheService(com.lyncode.xoai.dataprovider.core.XOAIManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String requestID) |
void |
deleteAll() |
void |
handle(String requestID,
OutputStream out) |
boolean |
hasCache(String requestID) |
boolean |
isActive() |
void |
store(String requestID,
com.lyncode.xoai.dataprovider.xml.oaipmh.OAIPMH response) |
public DSpaceXOAICacheService(com.lyncode.xoai.dataprovider.core.XOAIManager manager)
public boolean isActive()
isActive in interface XOAICacheServicepublic boolean hasCache(String requestID)
hasCache in interface XOAICacheServicepublic void handle(String requestID, OutputStream out) throws IOException
handle in interface XOAICacheServiceIOExceptionpublic void store(String requestID, com.lyncode.xoai.dataprovider.xml.oaipmh.OAIPMH response) throws IOException
store in interface XOAICacheServiceIOExceptionpublic void delete(String requestID)
delete in interface XOAICacheServicepublic void deleteAll()
throws IOException
deleteAll in interface XOAICacheServiceIOExceptionCopyright © 2022 LYRASIS. All rights reserved.