public class AsyncInventoryStorage extends Object implements InventoryStorage
InventoryStorage that sends the resources submitted via storeResource(Resource) asynchronously
to inventory.| Constructor and Description |
|---|
AsyncInventoryStorage(ServerIdentifiers selfId,
MonitorServiceConfiguration.StorageAdapter config,
HttpClientBuilder httpClientBuilder,
Diagnostics diagnostics) |
| Modifier and Type | Method and Description |
|---|---|
void |
shutdown() |
void |
storeResource(Resource<?,?,?,?,?> resource)
Stores the given resource and its resourceType is necessary.
|
public AsyncInventoryStorage(ServerIdentifiers selfId, MonitorServiceConfiguration.StorageAdapter config, HttpClientBuilder httpClientBuilder, Diagnostics diagnostics)
public void storeResource(Resource<?,?,?,?,?> resource)
InventoryStoragestoreResource in interface InventoryStorageresource - to be storedpublic void shutdown()
Copyright © 2015 Red Hat, Inc.. All rights reserved.