Class ExpirableResettableLazyReference<T>

java.lang.Object
com.atlassian.util.concurrent.ResettableLazyReference<T>
com.atlassian.bamboo.utils.expirables.ExpirableResettableLazyReference<T>
All Implemented Interfaces:
Expirable, com.atlassian.util.concurrent.Supplier<T>
Direct Known Subclasses:
ExpirableResettableLazyCloseableReference

public class ExpirableResettableLazyReference<T> extends com.atlassian.util.concurrent.ResettableLazyReference<T> implements Expirable
  • Method Details

    • create

      protected T create() throws Exception
      Specified by:
      create in class com.atlassian.util.concurrent.ResettableLazyReference<T>
      Throws:
      Exception
    • get

      public T get()
      Specified by:
      get in interface com.atlassian.util.concurrent.Supplier<T>
      Overrides:
      get in class com.atlassian.util.concurrent.ResettableLazyReference<T>
    • expire

      public void expire()
      Specified by:
      expire in interface Expirable