spring-framework / org.springframework.test.context.cache / DefaultContextCache / toString

toString

open fun toString(): String

Generate a text string containing the implementation type of this cache and its statistics.

The string returned by this method contains all information required for compliance with the contract for #logStatistics().

Return
a string representation of this cache, including statistics