public final class Provider extends Object implements RecordManagerProvider
Constructor and Description |
---|
Provider() |
Modifier and Type | Method and Description |
---|---|
RecordManager |
createRecordManager(String name,
Properties options)
Create a default implementation record manager.
|
public RecordManager createRecordManager(String name, Properties options) throws IOException
createRecordManager
in interface RecordManagerProvider
name
- Name of the record file.options
- Record manager options.IOException
- if an I/O related exception occurs while creating
or opening the record manager.UnsupportedOperationException
- if some options are not supported by the
implementation.IllegalArgumentException
- if some options are invalid.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.