com.atlassian.bamboo.utils.expirables
Class ExpirableResettableLazyCloseableReference<T extends java.io.Closeable>

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

public class ExpirableResettableLazyCloseableReference<T extends java.io.Closeable>
extends ExpirableResettableLazyReference<T>


Method Summary
protected  T create()
           
 void expire()
           
 
Methods inherited from class com.atlassian.bamboo.utils.expirables.ExpirableResettableLazyReference
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
Overrides:
create in class ExpirableResettableLazyReference<T extends java.io.Closeable>
Throws:
java.lang.Exception

expire

public void expire()
Specified by:
expire in interface Expirable
Overrides:
expire in class ExpirableResettableLazyReference<T extends java.io.Closeable>


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