Replicated caches will try to load the full set of cache entries from other nodes (or as defined by
pluggable AffinityFunction), while partitioned caches will only load the entries for which
current node is primary or back up.

valueOf

Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)