changeset 1625:2c54f59361f0

Add index to timestamp review-thread: http://icedtea.classpath.org/pipermail/thermostat/2014-December/012143.html reviewed-by: omajid
author Mario Torre <neugens.limasoftware@gmail.com>
date Thu, 11 Dec 2014 11:45:04 +0100
parents affa18455541
children b708106d5780
files thread/collector/src/main/java/com/redhat/thermostat/thread/model/ThreadState.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/thread/collector/src/main/java/com/redhat/thermostat/thread/model/ThreadState.java	Thu Dec 11 11:44:43 2014 +0100
+++ b/thread/collector/src/main/java/com/redhat/thermostat/thread/model/ThreadState.java	Thu Dec 11 11:45:04 2014 +0100
@@ -94,12 +94,14 @@
         this.vmId = vmId;
     }
 
+    @Indexed
     @Persist
     @Override
     public long getTimeStamp() {
         return timeStamp;
     }
 
+    @Indexed
     @Persist
     public void setTimeStamp(long timeStamp) {
         this.timeStamp = timeStamp;