Interface SwapFile
- All Known Implementing Classes:
SwapFileImpl
public interface SwapFile
-
Method Summary
Modifier and TypeMethodDescriptionlong
add
(StoreEntry entry) void
close()
void
StoreEntry
get
(long fp) long
long
boolean
hasSpace()
void
remove
(long fp) void
setNumberMessages
(long numberMessages) void
updateDeliveryCount
(long fp, int deliveryCount)
-
Method Details
-
getFilename
String getFilename() -
get
- Throws:
Exception
-
add
- Throws:
Exception
-
remove
- Throws:
Exception
-
updateDeliveryCount
- Throws:
Exception
-
hasSpace
- Throws:
Exception
-
getNumberMessages
long getNumberMessages() -
setNumberMessages
void setNumberMessages(long numberMessages) -
getMaxLength
long getMaxLength() -
closeNoDelete
void closeNoDelete() -
close
void close()
-