Package org.apache.bookkeeper.bookie
Class Cookie.Builder
- java.lang.Object
-
- org.apache.bookkeeper.bookie.Cookie.Builder
-
- Enclosing class:
- Cookie
public static class Cookie.Builder extends java.lang.Object
Cookie builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cookie
build()
Cookie.Builder
setBookieId(java.lang.String bookieId)
Cookie.Builder
setIndexDirs(java.lang.String indexDirs)
Cookie.Builder
setInstanceId(java.lang.String instanceId)
Cookie.Builder
setJournalDirs(java.lang.String journalDirs)
Cookie.Builder
setLayoutVersion(int layoutVersion)
Cookie.Builder
setLedgerDirs(java.lang.String ledgerDirs)
-
-
-
Method Detail
-
setLayoutVersion
public Cookie.Builder setLayoutVersion(int layoutVersion)
-
setBookieId
public Cookie.Builder setBookieId(java.lang.String bookieId)
-
setJournalDirs
public Cookie.Builder setJournalDirs(java.lang.String journalDirs)
-
setLedgerDirs
public Cookie.Builder setLedgerDirs(java.lang.String ledgerDirs)
-
setInstanceId
public Cookie.Builder setInstanceId(java.lang.String instanceId)
-
setIndexDirs
public Cookie.Builder setIndexDirs(java.lang.String indexDirs)
-
build
public Cookie build()
-
-