Guidewire Interview Question

Give an example how would you use ¨volatile¨ in a singleton