public class DefaultClientHighAvailabilityServicesFactory extends Object implements ClientHighAvailabilityServicesFactory
Modifier and Type | Field and Description |
---|---|
static DefaultClientHighAvailabilityServicesFactory |
INSTANCE |
Constructor and Description |
---|
DefaultClientHighAvailabilityServicesFactory() |
Modifier and Type | Method and Description |
---|---|
ClientHighAvailabilityServices |
create(Configuration configuration,
FatalErrorHandler fatalErrorHandler)
Creates a
ClientHighAvailabilityServices instance. |
public static final DefaultClientHighAvailabilityServicesFactory INSTANCE
public DefaultClientHighAvailabilityServicesFactory()
public ClientHighAvailabilityServices create(Configuration configuration, FatalErrorHandler fatalErrorHandler) throws Exception
ClientHighAvailabilityServicesFactory
ClientHighAvailabilityServices
instance.create
in interface ClientHighAvailabilityServicesFactory
configuration
- Flink configurationfatalErrorHandler
- FatalErrorHandler
fatalErrorHandler to handle unexpected
errorsClientHighAvailabilityServices
Exception
- when HA services can not be created.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.