| Constructor and Description |
|---|
DomainCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
Optional<Domain> |
getDomain(String id)
Gets the
Domain for the given id. |
Domain |
getDomain(String id,
Callable<Domain> callable)
Gets the
Domain for the given id. |
void |
invalidate(String id) |
public Domain getDomain(String id, Callable<Domain> callable)
Domain for the given id.
It uses a cache, so it will only call the callable if there's a cache miss.
public void invalidate(String id)
public void dispose()
dispose in interface org.mule.tooling.client.api.DisposableCopyright © 2019 MuleSoft, Inc.. All rights reserved.