@Inherited @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Document
| Modifier and Type | Optional Element and Description |
|---|---|
int |
expiry
An optional expiry time for the document.
|
TimeUnit |
expiryUnit
An optional time unit for the document's
expiry(), if set. |
public abstract int expiry
public abstract TimeUnit expiryUnit
expiry(), if set. Default is TimeUnit.SECONDS.Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.