public static class RecoveriesCollection.StatusRef extends Object implements AutoCloseable
RecoveryStatus, which implements AutoCloseable. closing the reference
causes AbstractRefCounted.decRef() to be called. This makes sure that the underlying resources
will not be freed until close() is called.| コンストラクタと説明 |
|---|
StatusRef(RecoveryStatus status)
Important:
AbstractRefCounted.tryIncRef() should
be *successfully* called on status before |
public StatusRef(RecoveryStatus status)
AbstractRefCounted.tryIncRef() should
be *successfully* called on status beforepublic void close()
close インタフェース内 AutoCloseablepublic RecoveryStatus status()
Copyright © 2009–2016. All rights reserved.