@FunctionalInterface public interface FlinkResourceFactory
FlinkResource
implementations.Modifier and Type | Method and Description |
---|---|
FlinkResource |
create(FlinkResourceSetup setup)
Returns a
FlinkResource instance. |
FlinkResource create(FlinkResourceSetup setup) throws Exception
FlinkResource
instance. If the instance could not be instantiated (for
example, because a mandatory parameter was missing), then an exception should be thrown.setup
- setup instructions for the FlinkResourceException
- if the instance could not be instantiatedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.