public class ShivaClusterImpl extends Object implements IShivaCluster
| Constructor and Description |
|---|
ShivaClusterImpl(String shivaClusterName,
IPunchPlatformProperties properties)
Ctor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignementTopic() |
String |
getCommandTopic() |
String |
getFilesystemRoot()
Simple shiva "cluster" can run on one node and rely on the local filesystem.
|
String |
getKafkaBoostrapServers() |
String |
getKafkaClusterName() |
String |
getName()
The logical name of the cluster.
|
Set<String> |
getServerNames()
Get the set of Shiva server hostnames
|
Set<String> |
getWorkersServerNames()
Get the set of Shiva workers server hostnames
|
boolean |
isLocalFileSystemDaemon()
Simple shiva "cluster" can run on one node and rely on the local filesystem.
|
public ShivaClusterImpl(String shivaClusterName, IPunchPlatformProperties properties) throws ConfigurationException
shivaClusterName - the logical shiva cluster name, i.e. 'common'properties - the platform propertiesConfigurationExceptionpublic String getFilesystemRoot() throws ConfigurationException
IShivaClustergetFilesystemRoot in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic boolean isLocalFileSystemDaemon()
throws ConfigurationException
IShivaClusterisLocalFileSystemDaemon in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic String getCommandTopic() throws ConfigurationException
getCommandTopic in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic String getAssignementTopic() throws ConfigurationException
getAssignementTopic in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic String getKafkaBoostrapServers() throws ConfigurationException
getKafkaBoostrapServers in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic String getKafkaClusterName() throws ConfigurationException
getKafkaClusterName in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic String getName()
IShivaClustergetName in interface IShivaClusterpublic Set<String> getServerNames() throws ConfigurationException
IShivaClustergetServerNames in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionpublic Set<String> getWorkersServerNames() throws ConfigurationException
IShivaClustergetWorkersServerNames in interface IShivaClusterPlatformPropertiesConfigurationExceptionConfigurationExceptionCopyright © 2014–2023. All rights reserved.