package org.craft.atom.redis.api;

import java.util.List;

import lombok.Getter;
import lombok.ToString;

/**
 * Redis slow log object.
 * 
 * @author mindwind
 * @version 1.0, Jun 12, 2013
 */
@ToString
public class Slowlog {

	/** 
	 * Fields description:<br>
	 * id       : A unique progressive identifier for every slow log entry. <br>
	 * timestamp: The unix timestamp at which the logged command was processed.<br>
	 * elapse   : The amount of time needed for its execution, in microseconds.<br>
	 * command  : The command with arguments. 
	 */
	@Getter private final long         id       ;
	@Getter private final long         timestamp;
	@Getter private final long         elapse   ;
	@Getter private final List<String> command  ;
	
	
	// ~ -----------------------------------------------------------------------------------------------------------
	

	public Slowlog(long id, long timestamp, long elapse, List<String> command) {
		super();
		this.id = id;
		this.timestamp = timestamp;
		this.elapse = elapse;
		this.command = command;
	}

}

@@ -956,12 +956,26 @@
 .id 
-= id
+       = id       
 ;%0A%09%09
@@ -1020,16 +1020,19 @@
 pse 
+   
 = elapse
 ;%0A%09%09
@@ -1027,16 +1027,19 @@
 = elapse
+   
 ;%0A%09%09this
@@ -1047,16 +1047,18 @@
 command 
+  
 = comman
@@ -1058,16 +1058,18 @@
  command
+  
 ;%0A%09%7D%0A%0A%7D%0A

fix - code style