public interface WritableResourceHandler extends ResourceHandler
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.ResourceHandler
Modifier and Type | Interface and Description |
---|---|
static interface |
WritableResourceHandler.WritableResource
Resource that is writable.
|
ResourceHandler.Resource
Modifier and Type | Method and Description |
---|---|
WritableResourceHandler.WritableResource |
locate(String name)
Returns the
WritableResourceHandler.WritableResource with name . |
WritableResourceHandler.WritableResource locate(String name) throws IOException
WritableResourceHandler.WritableResource
with name
. Returned locator should be handled as
resource, is Closeable
.locate
in interface ResourceHandler
name
- Resource name, guaranteed to be non-null
and is FS and URL safe string.IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.