|
|
@@ -128,7 +128,7 @@ public class Postback |
|
|
} |
|
|
} |
|
|
// If space in que is generated, wake up all service queues waiting for space |
|
|
// If space in que is generated, wake up all service queues waiting for space |
|
|
if (reportList.size() > 0 && threadsWaitingToPost > 0) postQueue.notifyAll(); |
|
|
if (reportList.size() > 0 && threadsWaitingToPost > 0) postQueue.notifyAll(); |
|
|
} // synchronized() |
|
|
|
|
|
|
|
|
} |
|
|
if (reportList.size() > 0) |
|
|
if (reportList.size() > 0) |
|
|
{ |
|
|
{ |
|
|
switch (post(reportList)) |
|
|
switch (post(reportList)) |
|
|
@@ -384,6 +384,7 @@ public class Postback |
|
|
{ |
|
|
{ |
|
|
synchronized(postQueue) |
|
|
synchronized(postQueue) |
|
|
{ |
|
|
{ |
|
|
|
|
|
myLogger.debug("Queueing report " + report); |
|
|
postQueue.offerFirst(report); |
|
|
postQueue.offerFirst(report); |
|
|
postQueue.notify(); |
|
|
postQueue.notify(); |
|
|
} |
|
|
} |
|
|
|