package Ġio . tol gee . configuration Ċ Ċ import Ġio . tol gee . component . lock ing Provider . Lock ing Provider Ċ import Ġio . tol gee . component . lock ing Provider . Simple Lock ing Provider Ċ import Ġorg . springframework . boot . autoconfigure . condition . Conditional On Expression Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ Ċ @ Configuration Ċ @ Conditional On Expression ("\ ${ tol gee . cache . use - redis : false } Ġ== Ġfalse ") Ċ class ĠSimple Lock ing Configuration Ġ{ ĊĠ Ġ@ Bean ĊĠ Ġfun Ġget Lock ing Provider (): ĠLock ing Provider Ġ{ ĊĠĠĠ Ġreturn ĠSimple Lock ing Provider () ĊĠ Ġ} Ċ } Ċ