public interface NN_PersistenceRAInterface
| Modifier and Type | Method and Description |
|---|---|
boolean |
c2_checkDueSlotNotWriting(long dueSlot)
Checking if due_slot is not in writing state now
Returns true if due_slot is not in writing now
|
void |
c2_createRecordArchive(Sms sms) |
void |
c2_createRecordCurrent(Sms sms) |
long |
c2_getDueSlotForTargetId(PreparedStatementCollection_C3 psc,
String targetId) |
long |
c2_getDueSlotForTime(Date time)
Return due_slot for the given time
|
long |
c2_getIntimeDueSlot()
Return due_slop for current time
|
long |
c2_getProcessingDueSlot()
Return due_slop that SMSC is processing now
|
ArrayList<SmsSet> |
c2_getRecordList(long dueSlot) |
SmsSet |
c2_getRecordListForTargeId(long dueSlot,
String targetId) |
long |
c2_getStoringDueSlot()
Return due_slop for storing next incoming to SMSC message
|
Date |
c2_getTimeForDueSlot(long dueSlot)
Return time for the given due_slot
|
void |
c2_registerDueSlotWriting(long dueSlot)
Registering that thread starts writing to this due_slot
|
void |
c2_setProcessingDueSlot(long newDueSlot)
Set a new due_slop that SMSC is processing now and store it to the database
|
ArrayList<SmsSet> |
c2_sortRecordList(ArrayList<SmsSet> sourceLst) |
void |
c2_unregisterDueSlotWriting(long dueSlot)
Registering that thread finishes writing to this due_slot
|
void |
c2_updateDueSlotForTargetId(String targetId,
long newDueSlot) |
void |
c2_updateInSystem(Sms sms,
int isSystemStatus) |
TargetAddress |
obtainSynchroObject(TargetAddress ta)
Obtaining synchronizing object for a TargetAddress
|
void |
releaseSynchroObject(TargetAddress ta)
Releasing synchronizing object for a TargetAddress
|
long c2_getDueSlotForTime(Date time)
Date c2_getTimeForDueSlot(long dueSlot)
long c2_getProcessingDueSlot()
void c2_setProcessingDueSlot(long newDueSlot)
throws PersistenceException
PersistenceExceptionlong c2_getIntimeDueSlot()
long c2_getStoringDueSlot()
void c2_registerDueSlotWriting(long dueSlot)
void c2_unregisterDueSlotWriting(long dueSlot)
boolean c2_checkDueSlotNotWriting(long dueSlot)
TargetAddress obtainSynchroObject(TargetAddress ta)
void releaseSynchroObject(TargetAddress ta)
long c2_getDueSlotForTargetId(PreparedStatementCollection_C3 psc, String targetId) throws PersistenceException
PersistenceExceptionvoid c2_updateDueSlotForTargetId(String targetId, long newDueSlot) throws PersistenceException
PersistenceExceptionvoid c2_createRecordCurrent(Sms sms) throws PersistenceException
PersistenceExceptionvoid c2_createRecordArchive(Sms sms) throws PersistenceException
PersistenceExceptionArrayList<SmsSet> c2_getRecordList(long dueSlot) throws PersistenceException
PersistenceExceptionSmsSet c2_getRecordListForTargeId(long dueSlot, String targetId) throws PersistenceException
PersistenceExceptionvoid c2_updateInSystem(Sms sms, int isSystemStatus) throws PersistenceException
PersistenceExceptionCopyright © 2016. All Rights Reserved.