public class FileSerializer extends SynchIndexer<NamedFields,File>
Indexer.IndexerType, Indexer.NoContent| Constructor and Description |
|---|
FileSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Indexer.IndexerType |
getIndexerType() |
String |
getPath()
Return path where files are written.
|
Callable<File> |
removeSynch(String id)
Remove the object from the index.
|
void |
setPath(String pathName)
Set path to write files.
|
Callable<File> |
updateSynch(String id,
NamedFields content)
Create or update an index entry for the object.
|
executorServiceremove, updatepublic void setPath(String pathName)
pathName - public String getPath()
public Callable<File> updateSynch(String id, NamedFields content)
updateSynch in class AsynchIndexer<NamedFields,File>public Callable<File> removeSynch(String id)
removeSynch in class AsynchIndexer<NamedFields,File>public Indexer.IndexerType getIndexerType()
Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.