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

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

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


/**
 * 基于Byte[]的Row
 * 
 * @author duanyy
 *
 */
public interface ByteArrayRow extends KeyValueRow{
	/**
	 * 设置byte[]值
	 * @param value
	 */
	public boolean set(final byte [] value);
	
	/**
	 * 设置byte[]值
	 * @param value
	 * @param ttl
	 * @param writeIfExist
	 * @param writeIfNotExist
	 */
	public boolean set(final byte [] value,final long ttl,final boolean writeIfExist,final boolean writeIfNotExist);

	/**
	 * 获取byte[]值
	 * @param dftValue 
	 * @return 当不存在或为空时,返回缺省值
	 */
	public byte [] get(final byte [] dftValue);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy