public final class FileListOperations extends Object
Constructor and Description |
---|
FileListOperations(AdvancedCache<?,?> cache,
String indexName) |
Modifier and Type | Method and Description |
---|---|
void |
deleteFileName(String fileName)
Deleted a file from the list of files actively part of the index
|
Set<String> |
getFileList() |
FileMetadata |
getFileMetadata(String fileName) |
void |
removeAndAdd(String toRemove,
String toAdd)
Optimized implementation to perform both a remove and an add
|
public FileListOperations(AdvancedCache<?,?> cache, String indexName)
public Set<String> getFileList()
public void deleteFileName(String fileName)
fileName
- public FileMetadata getFileMetadata(String fileName)
fileName
- Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.