public class NoopMaster extends Object implements Master, NoopJournaled
LOG
Constructor and Description |
---|
NoopMaster()
Creates a new
NoopMaster . |
NoopMaster(String name)
Creates a new
NoopMaster with the given name. |
NoopMaster(String name,
UfsManager ufsManager)
Creates a new
NoopMaster with the given name and ufsManager. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the server.
|
JournalContext |
createJournalContext() |
Set<Class<? extends Server>> |
getDependencies() |
MasterContext |
getMasterContext() |
String |
getName() |
Map<ServiceType,GrpcService> |
getServices() |
void |
start(Boolean options)
Starts the Alluxio server.
|
void |
stop()
Stops the Alluxio server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStandbyServices
getCheckpointName, getJournalEntryIterator, processJournalEntry, resetState, restoreFromCheckpoint, restoreFromCheckpoint, writeToCheckpoint, writeToCheckpoint
applyAndJournal
public NoopMaster()
NoopMaster
.public NoopMaster(String name)
NoopMaster
with the given name.name
- the master namepublic NoopMaster(String name, UfsManager ufsManager)
NoopMaster
with the given name and ufsManager.name
- the master nameufsManager
- the UFS managerpublic String getName()
public Set<Class<? extends Server>> getDependencies()
getDependencies
in interface Server<Boolean>
public Map<ServiceType,GrpcService> getServices()
getServices
in interface Server<Boolean>
public void start(Boolean options)
Server
public void stop()
Server
#start(T)
should be
cleaned up and shutdown.public void close()
Server
public JournalContext createJournalContext()
createJournalContext
in interface Master
public MasterContext getMasterContext()
getMasterContext
in interface Master
Copyright © 2023. All Rights Reserved.