fetch<T extends Entity> method
Returns the entity of the given OID, if it is stored in the cache.
- It always return null if the plugin doesn't support the cache.
-
Note: if cache is supported, it also implies
oid
can identify -
an entity uniquely (regardless of what its otype is).
Implementation
@override
T? fetch<T extends Entity>(String? otype, String? oid)
=> _cache?.fetch(otype, oid);