forked from sakaiproject/sakai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAK-21398 - Possible Memory leak in CourierService
git-svn-id: https://source.sakaiproject.org/svn/courier/trunk@130575 66ffb92e-73f9-0310-93c1-f5514f145a0a
- Loading branch information
Showing
3 changed files
with
176 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
courier/courier-api/api/src/java/org/sakaiproject/courier/api/Expirable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.sakaiproject.courier.api; | ||
|
||
/** | ||
* Interface that will be used in additions to Delivery to indicate that a delivery will eventually expire. | ||
* @author Chris Maurer <[email protected]> | ||
* | ||
*/ | ||
public interface Expirable { | ||
|
||
/** | ||
* Get the date that the object was created | ||
* @return | ||
*/ | ||
long getCreated(); | ||
|
||
/** | ||
* Get the Time-to-Live for the object (in seconds). | ||
* @return | ||
*/ | ||
int getTtl(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters