@ SuppressWarnings ( "deprecation" ) @ VisibleForTesting public static boolean hasNewNetworkConfig ( final Configuration config ) { return config . contains ( TaskManagerOptions . NETWORK_BUFFERS_MEMORY_FRACTION ) || config . contains ( TaskManagerOptions . NETWORK_BUFFERS_MEMORY_MIN ) || config . contains ( TaskManagerOptions . NETWORK_BUFFERS_MEMORY_MAX ) || ! config . contains ( TaskManagerOptions . NETWORK_NUM_BUFFERS ) ; }
Returns whether the new network buffer memory configuration is present in the configuration object i . e . at least one new parameter is given or the old one is not present .