public class EmbeddedTimelineService extends Object
| Modifier and Type | Method and Description |
|---|---|
static EmbeddedTimelineService |
getOrStartEmbeddedTimelineService(HoodieEngineContext context,
String embeddedTimelineServiceHostAddr,
HoodieWriteConfig writeConfig)
Returns an existing embedded timeline service if one is running for the given configuration and reuse is enabled, or starts a new one.
|
FileSystemViewStorageConfig |
getRemoteFileSystemViewConfig()
Retrieves proper view storage configs for remote clients to access this service.
|
FileSystemViewManager |
getViewManager() |
static void |
shutdownAllTimelineServers() |
void |
stopForBasePath(String basePath)
Stops the embedded timeline service for the given base path.
|
public static EmbeddedTimelineService getOrStartEmbeddedTimelineService(HoodieEngineContext context, String embeddedTimelineServiceHostAddr, HoodieWriteConfig writeConfig) throws IOException
context - The HoodieEngineContext for the clientembeddedTimelineServiceHostAddr - The host address to use for the service (nullable)writeConfig - The HoodieWriteConfig for the clientEmbeddedTimelineServiceIOException - if an error occurs while starting the servicepublic static void shutdownAllTimelineServers()
public FileSystemViewStorageConfig getRemoteFileSystemViewConfig()
public FileSystemViewManager getViewManager()
public void stopForBasePath(String basePath)
basePath - For the table to stop the service forCopyright © 2024 The Apache Software Foundation. All rights reserved.