File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
core/src/main/scala/org/apache/spark/util Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,21 +47,21 @@ object RpcUtils {
47
47
}
48
48
49
49
/** Returns the default Spark timeout to use for RPC ask operations. */
50
- def askRpcTimeout (conf : SparkConf ): RpcTimeout = {
50
+ private [spark] def askRpcTimeout (conf : SparkConf ): RpcTimeout = {
51
51
RpcTimeout (conf, Seq (" spark.rpc.askTimeout" , " spark.network.timeout" ), " 120s" )
52
52
}
53
53
54
- @ deprecated(" use askRpcTimeout instead" , " 1.5.0" )
54
+ @ deprecated(" use askRpcTimeout instead, this method was not intended to be public " , " 1.5.0" )
55
55
def askTimeout (conf : SparkConf ): FiniteDuration = {
56
56
askRpcTimeout(conf).duration
57
57
}
58
58
59
59
/** Returns the default Spark timeout to use for RPC remote endpoint lookup. */
60
- def lookupRpcTimeout (conf : SparkConf ): RpcTimeout = {
60
+ private [spark] def lookupRpcTimeout (conf : SparkConf ): RpcTimeout = {
61
61
RpcTimeout (conf, Seq (" spark.rpc.lookupTimeout" , " spark.network.timeout" ), " 120s" )
62
62
}
63
63
64
- @ deprecated(" use lookupRpcTimeout instead" , " 1.5.0" )
64
+ @ deprecated(" use lookupRpcTimeout instead, this method was not intended to be public " , " 1.5.0" )
65
65
def lookupTimeout (conf : SparkConf ): FiniteDuration = {
66
66
lookupRpcTimeout(conf).duration
67
67
}
You can’t perform that action at this time.
0 commit comments