All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.logicbus.kvalue.core.FloatRow Maven / Gradle / Ivy

There is a newer version: 1.6.17
Show newest version
package com.logicbus.kvalue.core;


/**
 * 基于Float的Row
 * 
 * @author duanyy
 *
 */
public interface FloatRow extends KeyValueRow {
	
	/**
	 * 设置double值
	 * @param value
	 */
	public boolean set(final double value);
	
	/**
	 * 设置 double值
	 * @param value
	 * @param ttl
	 * @param writeIfExist
	 * @param writeIfNotExist
	 */
	public boolean set(final double value,final long ttl,final boolean writeIfExist,final boolean writeIfNotExist);
	
	/**
	 * 获取double值
	 * @param dftValue 缺省值
	 * @return 当不存在或为空时,返回缺省值
	 */
	public double get(final double dftValue);	
	
	/**
	 * 累加或累减
	 * @param increment
	 */
	public double incr(final double increment);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy