Annotation Interface的使用
pkg.exoad.poprock.core.annotations.VolatileImpl
使用VolatileImpl的程序包
程序包
说明
The core of the Poprock application that has both the library and also
the application.
-
pkg.exoad.poprock.core中VolatileImpl的使用
注释类型为VolatileImpl的pkg.exoad.poprock.core中的方法修饰符和类型方法说明voidEventPoolService.EventPool.attachListener(Class<? extends EventPoolService.EventPayload> id, Runnable r) Subscribe to an event payload type<T extends EventPoolService.EventPayload>
TEventPoolService.EventPool.getPayload(Class<T> id) Returns the currently cached value of this payload event type (can be null). -
pkg.exoad.poprock.core.registry中VolatileImpl的使用
修饰符和类型方法说明protected RegistryEntryEphemeralRegistry.acquireEntry(String leafName) WeakRegistry.acquireEntryValue(String name) private static StringEphemeralRegistry.assertLeafNameFormat(String rootName) Formats the rootName accordingly.static EphemeralRegistryRegistryServices.getEphemeral(int id) Acquires the ephemeral registry found from the pool.voidEphemeralRegistry.registerEntry(String name, RegistryEntry entry) static voidRegistryServices.registerEphemeralRegistry(int id, EphemeralRegistry.EphemeralRegistryConfig config) Registers a registry as "Ephemeral".注释类型为VolatileImpl的pkg.exoad.poprock.core.registry中的构造器限定符构造器说明(专用程序包)EphemeralRegistry(String rootName, float loadFactor, Pair<String, RegistryEntry>[] entries) Initiates a new Ephemeral Reigstry with some more parameters.