|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.fragmentation.FragmentationService
public class FragmentationService
This class is responsible for fragmenting events. Based on the specified fragmentation constraints.
| Constructor Summary | |
|---|---|
protected |
FragmentationService()
This is to be used for testing purposes only |
|
FragmentationService(QosServiceImpl qosServiceImpl)
|
| Method Summary | |
|---|---|
void |
assignedCatenationNum(String filename,
int fragmentNum,
int catenationNum)
This is used by the reliable delivery algorithm to update information regarding the catenation number associated with the fragment for a specific file |
void |
checkForPendingTransfers(int publisherCatenationNumber)
|
void |
fragmentEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints)
|
static void |
main(String[] args)
|
void |
processReliableStorageOf(String filename,
int fragmentNumber)
This is used by the reliable delivery service to manage the successful storage of the fragment of a file |
byte[] |
retrievePayloadForFragment(String filename,
int fragmentNumber)
This is used by the Reliable delivery algorithm to satisfy requests for retransmissions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FragmentationService()
public FragmentationService(QosServiceImpl qosServiceImpl)
| Method Detail |
|---|
public void fragmentEvent(NBEvent nbEvent,
ProducerConstraints producerConstraints)
throws ServiceException
ServiceException
public byte[] retrievePayloadForFragment(String filename,
int fragmentNumber)
throws ServiceException
ServiceException
public void assignedCatenationNum(String filename,
int fragmentNum,
int catenationNum)
throws ServiceException
ServiceException
public void processReliableStorageOf(String filename,
int fragmentNumber)
throws ServiceException
ServiceException
public void checkForPendingTransfers(int publisherCatenationNumber)
throws ServiceException
ServiceExceptionpublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||