类的使用
org.apache.pulsar.client.api.SizeUnit
-
使用SizeUnit的程序包 程序包 说明 org.apache.pulsar.client.api Pulsar Client API. -
-
org.apache.pulsar.client.api中SizeUnit的使用
返回SizeUnit的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 static SizeUnitSizeUnit. valueOf(java.lang.String name)返回带有指定名称的该类型的枚举常量。static SizeUnit[]SizeUnit. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为SizeUnit的org.apache.pulsar.client.api中的方法 修饰符和类型 方法 说明 ClientBuilderClientBuilder. memoryLimit(long memoryLimit, SizeUnit unit)Configure a limit on the amount of direct memory that will be allocated by this client instance.
-