public class NoopMaster extends Object implements Master, NoopJournaled
Constructor and Description |
---|
NoopMaster()
Creates a new
NoopMaster . |
NoopMaster(String name)
Creates a new
NoopMaster with the given name. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the server.
|
JournalContext |
createJournalContext() |
Set<Class<? extends Server>> |
getDependencies() |
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
getCheckpointName, getJournalEntryIterator, processJournalEntry, resetState, restoreFromCheckpoint, writeToCheckpoint
applyAndJournal
public NoopMaster()
NoopMaster
.public NoopMaster(String name)
NoopMaster
with the given name.name
- the master namepublic 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
Copyright © 2023. All Rights Reserved.