com.atlassian.confluence.cache.option
Interface Option<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
None, Some

Deprecated. Since 5.6 Use Option

@Deprecated
public interface Option<T>
extends Serializable

The option of a cached entry. Allows the caching of a found entry or one that is not found.


Nested Class Summary
static class Option.Builder
          Deprecated. Builds an appropriate instance of Option.
 
Method Summary
 boolean exists()
          Deprecated.  
 T getOrElse(T otherwise)
          Deprecated.  
 

Method Detail

exists

boolean exists()
Deprecated. 

getOrElse

T getOrElse(T otherwise)
Deprecated. 


Copyright © 2003–2015 Atlassian. All rights reserved.