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