Interface CacheSubKeyEnum

All Superinterfaces:
FriendlyEnum
All Known Implementing Classes:
WPCacheSubKey

public non-sealed interface CacheSubKeyEnum extends FriendlyEnum
CacheSubKeyEnum is an interface that extends the FriendlyEnum interface and is used to represent the keys nested in the values represented by CacheKeyEnum in the local cache.

For example, if the cache has the following:

{"content" : {"rendered" : "some content", "protected" : false}}

then "rendered" and "protected" are the cache subkeys of the "content" cache key.

This separation makes it possible to identify when the client wants to access a nested element inside the cache, making it easier to implement advanced querying procedures and extraction strategies.

See Also:
  • Method Summary

    Methods inherited from interface net.ygbstudio.powerwp4j.base.extension.enums.FriendlyEnum

    value