EventProcessorHost.getHostName 方法

定义

The processor host name is supplied by the user at constructor time, but being able to get it is useful because it means not having to carry both the host object and the name around. As long as you have the host object, you can get the name back, such as for logging.

public String getHostName()

返回

String

The processor host name

适用于