public interface AssetTree
extends net.openhft.chronicle.core.io.Closeable
@NotNull static Class<Subscription> getSubscriptionType(@NotNull RequestContext rc)
@NotNull Asset acquireAsset(Class assetClass, RequestContext context) throws AssetNotFoundException
AssetNotFoundException@NotNull default Asset acquireAsset(@NotNull RequestContext context) throws AssetNotFoundException
AssetNotFoundExceptionAsset root()
@NotNull default <E> Set<E> acquireSet(@NotNull String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull
default <E> E acquireView(@NotNull
RequestContext rc)
@NotNull default <K,V> MapView<K,V,V> acquireMap(@NotNull String name, Class<K> kClass, Class<V> vClass) throws AssetNotFoundException
AssetNotFoundException@NotNull default <E> Publisher<E> acquirePublisher(@NotNull String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull default <E> Reference<E> acquireReference(@NotNull String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull default <T,E> TopicPublisher<T,E> acquireTopicPublisher(@NotNull String name, Class<T> tClass, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundExceptiondefault <E> void registerSubscriber(@NotNull
String name,
Class<E> eClass,
Subscriber<E> subscriber)
throws AssetNotFoundException
AssetNotFoundExceptiondefault <T,E> void registerTopicSubscriber(@NotNull
String name,
Class<T> tClass,
Class<E> eClass,
TopicSubscriber<T,E> subscriber)
throws AssetNotFoundException
AssetNotFoundException@NotNull default Subscription acquireSubscription(@NotNull RequestContext rc)
@Nullable default Subscription getSubscription(@NotNull RequestContext rc)
default <E> void unregisterSubscriber(@NotNull
String name,
Subscriber<E> subscriber)
throws AssetNotFoundException
AssetNotFoundExceptiondefault <T,E> void unregisterTopicSubscriber(@NotNull
String name,
TopicSubscriber<T,E> subscriber)
throws AssetNotFoundException
AssetNotFoundExceptiondefault void enableManagement()
default void disableManagement()
Copyright © 2015. All rights reserved.