Annotation Interface的使用
pkg.exoad.poprock.core.annotations.VolatileImpl
程序包
说明
The core of the Poprock application that has both the library and also
the application.
-
pkg.exoad.poprock.core中VolatileImpl的使用
修饰符和类型方法说明void
EventPoolService.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 RegistryEntry
EphemeralRegistry.acquireEntry
(String leafName) WeakRegistry.acquireEntryValue
(String name) private static String
EphemeralRegistry.assertLeafNameFormat
(String rootName) Formats the rootName accordingly.static EphemeralRegistry
RegistryServices.getEphemeral
(int id) Acquires the ephemeral registry found from the pool.void
EphemeralRegistry.registerEntry
(String name, RegistryEntry entry) static void
RegistryServices.registerEphemeralRegistry
(int id, EphemeralRegistry.EphemeralRegistryConfig config) Registers a registry as "Ephemeral".限定符构造器说明(专用程序包)
EphemeralRegistry
(String rootName, float loadFactor, Pair<String, RegistryEntry>[] entries) Initiates a new Ephemeral Reigstry with some more parameters.