9d1536a34d8efc82a78bb05e6d5c1b06f94fa8bc
[jSite2.git] / src / net / pterodactylus / util / fcp / Persistence.java
1 /**
2  * © 2008 INA Service GmbH
3  */
4 package net.pterodactylus.util.fcp;
5
6 /**
7  * Convenience class for persistence values.
8  * 
9  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
10  * @version $Id$
11  */
12 public enum Persistence {
13
14         /**
15          * Connection persistence. A request with this persistence will die as soon
16          * as the connection goes down.
17          */
18         connection,
19
20         /**
21          * Reboot persistence. A request with this persistence will live until the
22          * node is restarted.
23          */
24         reboot,
25
26         /** Forever persistence. A request with this persistence will live forever. */
27         forever,
28
29         /** Unknown persistence. */
30         unknown;
31
32 }