fetch<T extends Entity> method

  1. @override
T? fetch<T extends Entity>(
  1. String? otype,
  2. String? oid
)
inherited

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);