com.atlassian.bamboo.utils.expirables
Class ExpirableResettableLazyReference<T>

java.lang.Object
  extended by com.atlassian.util.concurrent.ResettableLazyReference<T>
      extended by 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 Summary
protected  T create()
           
 void expire()
           
 T get()
           
 
Methods inherited from class com.atlassian.util.concurrent.ResettableLazyReference
cancel, getInterruptibly, isInitialized, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

protected T create()
            throws java.lang.Exception
Specified by:
create in class com.atlassian.util.concurrent.ResettableLazyReference<T>
Throws:
java.lang.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


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.