Class SwapFileImpl
java.lang.Object
com.swiftmq.impl.store.standard.swap.SwapFileImpl
- All Implemented Interfaces:
SwapFile
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
add
(StoreEntry storeEntry) void
close()
void
StoreEntry
get
(long fp) long
long
getPath()
boolean
hasSpace()
void
remove
(long fp) void
setNumberMessages
(long numberMessages) toString()
void
updateDeliveryCount
(long fp, int deliveryCount)
-
Field Details
-
path
-
filename
-
numberMessages
protected long numberMessages
-
-
Constructor Details
-
SwapFileImpl
- Throws:
Exception
-
-
Method Details
-
getPath
-
getFilename
- Specified by:
getFilename
in interfaceSwapFile
-
getNumberMessages
public long getNumberMessages()- Specified by:
getNumberMessages
in interfaceSwapFile
-
setNumberMessages
public void setNumberMessages(long numberMessages) - Specified by:
setNumberMessages
in interfaceSwapFile
-
getMaxLength
public long getMaxLength()- Specified by:
getMaxLength
in interfaceSwapFile
-
hasSpace
-
get
-
add
-
updateDeliveryCount
- Specified by:
updateDeliveryCount
in interfaceSwapFile
- Throws:
Exception
-
remove
-
closeNoDelete
public void closeNoDelete()- Specified by:
closeNoDelete
in interfaceSwapFile
-
close
public void close() -
toString
-