Package org.apache.maven.index.reader
Interface WritableResourceHandler
- All Superinterfaces:
AutoCloseable,Closeable,ResourceHandler
- All Known Implementing Classes:
BufferedWritableResourceHandler,PathWritableResourceHandler
Maven Index writable
ResourceHandler, is capable of saving resources too. Needed only if incremental index
updates are wanted, to store the index state locally, and be able to calculate incremental diffs on next IndexReader invocation. Is used by single thread only.- Since:
- 5.1.2
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceResource that is writable.Nested classes/interfaces inherited from interface org.apache.maven.index.reader.ResourceHandler
ResourceHandler.Resource -
Method Summary
Modifier and TypeMethodDescriptionReturns theWritableResourceHandler.WritableResourcewithname.Methods inherited from interface org.apache.maven.index.reader.ResourceHandler
close
-
Method Details
-
locate
Returns theWritableResourceHandler.WritableResourcewithname. Returned locator should be handled as resource.- Specified by:
locatein interfaceResourceHandler- Parameters:
name- Resource name, guaranteed to be non-nulland is FS and URL safe string.- Throws:
IOException
-