T
- the type of ufsManager to be usedpublic class MasterContext<T extends UfsManager> extends Object
Constructor and Description |
---|
MasterContext(JournalSystem journalSystem)
Creates a new master context, using the global server UserState.
|
MasterContext(JournalSystem journalSystem,
UserState userState,
T ufsManager)
Creates a new master context.
|
Modifier and Type | Method and Description |
---|---|
JournalSystem |
getJournalSystem() |
StateLockManager |
getStateLockManager() |
T |
getUfsManager() |
UserState |
getUserState() |
public MasterContext(JournalSystem journalSystem)
journalSystem
- the journal system to use for tracking master operationspublic MasterContext(JournalSystem journalSystem, UserState userState, T ufsManager)
journalSystem
- the journal system to use for tracking master operationsuserState
- the user state of the server. If null, will use the global server user stateufsManager
- the UFS managerpublic JournalSystem getJournalSystem()
public UserState getUserState()
public StateLockManager getStateLockManager()
public T getUfsManager()
Copyright © 2023. All Rights Reserved.