本文整理匯總了Java中org.apache.flink.client.deployment.ClusterDescriptor類的典型用法代碼示例。如果您正苦於以下問題:Java ClusterDescriptor類的具體用法?Java ClusterDescriptor怎麽用?Java ClusterDescriptor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ClusterDescriptor類屬於org.apache.flink.client.deployment包,在下文中一共展示了ClusterDescriptor類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createClusterDescriptor
import org.apache.flink.client.deployment.ClusterDescriptor; //導入依賴的package包/類
@Override
public ClusterDescriptor<T> createClusterDescriptor(CommandLine commandLine) {
return new DummyClusterDescriptor<>(clusterClient);
}
示例2: createClusterDescriptor
import org.apache.flink.client.deployment.ClusterDescriptor; //導入依賴的package包/類
/**
* Create a {@link ClusterDescriptor} from the given configuration, configuration directory
* and the command line.
*
* @param commandLine containing command line options relevant for the ClusterDescriptor
* @return ClusterDescriptor
* @throws FlinkException if the ClusterDescriptor could not be created
*/
ClusterDescriptor<T> createClusterDescriptor(CommandLine commandLine) throws FlinkException;