From: Jim A. <ji...@ar...> - 2008-11-16 10:54:46
|
Hello List... I have been going through the code, trying to get a handle on how it works. I see in Poller.java which appears to be a thread and I see the thread pool stuff. What I am trying to figure out how to do is to somehow sync all the readings taken during a single poll run, so that they can be grouped together. It looks like Poller.java takes the system time, but there is no reason to think it would be the same across all the threads. But it only takes it once, so it would be the same for all devices read by this thread in a single run. So, for any given device, like a 24 port switch, would the readings from all 24 ports have the same system time and be saved in the database that way? And, if the thread reads more than one device, would the time then be saved for all reading for all the devices read by the same thread? Thanks... Jim |