Commit f38e27d4 authored by lichenchong's avatar lichenchong
Browse files
parents 54ac0b91 5074081b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,9 +59,9 @@ public class Device {
    }
    
    /**
     * Set the vendor specifc device name.
     * Set the vendor specific device name.
     *  
     * @param name the vendor specifc device name.
     * @param name the vendor specific device name.
     */
    
    public void setName (byte[] name) {
+22 −0
Original line number Diff line number Diff line
@@ -29,6 +29,9 @@ public class EntryNotFoundException extends KineticException {

    private static final long serialVersionUID = -2377497794808030692L;
    
    // the entry that wasn't found
    private Entry entry;

    public EntryNotFoundException() {
        ;
    }
@@ -45,4 +48,23 @@ public class EntryNotFoundException extends KineticException {
        super(message, cause);
    }

    public EntryNotFoundException(Entry entry) {
        this.entry = entry;
    }

    public EntryNotFoundException(String message, Entry entry) {
        super(message);
        this.entry = entry;
    }

    public EntryNotFoundException(Throwable cause, Entry entry) {
        super(cause);
        this.entry = entry;
    }

    public EntryNotFoundException(String message, Throwable cause, Entry entry) {
        super(message, cause);
        this.entry = entry;
    }

}
+1 −4
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ public interface KineticClient extends GenericKineticClient {
	 * successful noop operation returns the round-trip time of the command
	 * invocation in milliseconds.
	 * <p>
	 * Please note that multiple invocations may likely to reflect the average
	 * Please note that multiple invocations may likely reflect the average
	 * response time of the service.
	 * 
	 * @return the round-trip time for the no op command in millisecond.
@@ -416,9 +416,6 @@ public interface KineticClient extends GenericKineticClient {
	 *         <code>maxKeys</code>, then only <code>maxKeys</code> keys will be
	 *         returned.
	 * 
	 * @return an <code>List</code> of keys in the sequence based on the
	 *         specified key range
	 * 
	 * @throws KineticException
	 *             if any internal error occurred.
	 * 
+0 −3
Original line number Diff line number Diff line
@@ -300,9 +300,6 @@ public interface AdvancedKineticClient extends KineticClient {
	 *         <code>maxKeys</code>, then only <code>maxKeys</code> keys will be
	 *         returned.
	 * 
	 * @return an <code>List</code> of keys in the sequence based on the
	 *         specified key range. The keys are sorted in reversed order.
	 * 
	 * @throws KineticException
	 *             if any internal error occurred.
	 * 
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class PeerToPeerOperation {
	/**
	 * Get overall status for the P2P operation.
	 * <p>
	 * Each opeartion's status can be obtained with
	 * Each operation's status can be obtained with
	 * {@link Operation#getStatus()} API.
	 * <p>
	 * 
Loading