public final class InternalRestServer extends Object
| Constructor and Description |
|---|
InternalRestServer(int port,
BeginShutdownBrokerHandle beginShutdownBrokerHandle,
KafkaRestorePartitionHandle kafkaRestorePartitionHandle,
AuditJobHandle auditJobHandle,
TierMetadataRecoveryHandle tierMetadataRecoveryHandle) |
InternalRestServer(Map<?,?> originals,
BeginShutdownBrokerHandle beginShutdownBrokerHandle,
KafkaRestorePartitionHandle kafkaRestorePartitionHandle,
AuditJobHandle auditJobHandle,
TierMetadataRecoveryHandle tierMetadataRecoveryHandle) |
| Modifier and Type | Method and Description |
|---|---|
InternalRestServerConfig |
getConfigs() |
int |
getPort() |
void |
start()
Bind the RestServer to the provided port.
|
void |
stop() |
public InternalRestServer(int port,
BeginShutdownBrokerHandle beginShutdownBrokerHandle,
KafkaRestorePartitionHandle kafkaRestorePartitionHandle,
AuditJobHandle auditJobHandle,
TierMetadataRecoveryHandle tierMetadataRecoveryHandle)
public InternalRestServer(Map<?,?> originals, BeginShutdownBrokerHandle beginShutdownBrokerHandle, KafkaRestorePartitionHandle kafkaRestorePartitionHandle, AuditJobHandle auditJobHandle, TierMetadataRecoveryHandle tierMetadataRecoveryHandle)
public InternalRestServerConfig getConfigs()
public int getPort()
public void start()
throws Exception
Exception