@ThreadSafe public static final class Journal.Factory extends Object implements JournalFactory
Journal
factory.Constructor and Description |
---|
Factory(URI base)
Creates a read-only journal factory with the specified base location.
|
Modifier and Type | Method and Description |
---|---|
Journal |
create(String name)
Creates a new journal using the given name.
|
static Journal |
create(URI location)
Creates a new read-only journal using the given location.
|
public Factory(URI base)
base
- the base location for journals created by this factorypublic Journal create(String name)
JournalFactory
create
in interface JournalFactory
name
- the journal nameJournal
Copyright © 2023. All Rights Reserved.