public class VanillaAssetTree extends Object implements AssetTree
| Constructor and Description |
|---|
VanillaAssetTree() |
VanillaAssetTree(int hostId) |
| Modifier and Type | Method and Description |
|---|---|
Asset |
acquireAsset(String fullName)
Get or create an asset
|
void |
close() |
VanillaAssetTree |
forRemoteAccess(String hostPortDescription,
java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> wire) |
VanillaAssetTree |
forTesting() |
VanillaAssetTree |
forTesting(boolean daemon) |
Asset |
getAsset(String fullName)
Get an existing Asset by fullName or return null.
|
VanillaAsset |
root()
Get the root asset.
|
String |
toString() |
AssetTree |
withConfig(String etcDir,
String baseDir) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacquireMap, acquirePublisher, acquireReference, acquireService, acquireSet, acquireSubscription, acquireTopicPublisher, acquireView, disableManagement, enableManagement, enableManagement, getSubscription, registerSubscriber, registerTopicSubscriber, unregisterSubscriber, unregisterTopicSubscriberpublic VanillaAssetTree()
public VanillaAssetTree(int hostId)
@NotNull public VanillaAssetTree forTesting()
@NotNull public VanillaAssetTree forTesting(boolean daemon)
@NotNull public VanillaAssetTree forRemoteAccess(String hostPortDescription, java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> wire)
@NotNull public Asset acquireAsset(@NotNull String fullName)
AssetTreeacquireAsset in interface AssetTreefullName - of the asset to obtain@Nullable public Asset getAsset(@NotNull String fullName)
AssetTree@NotNull public VanillaAsset root()
AssetTreepublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015. All rights reserved.