本文整理汇总了Java中org.apache.cassandra.utils.FBUtilities.updateWithLong方法的典型用法代码示例。如果您正苦于以下问题:Java FBUtilities.updateWithLong方法的具体用法?Java FBUtilities.updateWithLong怎么用?Java FBUtilities.updateWithLong使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.cassandra.utils.FBUtilities
的用法示例。
在下文中一共展示了FBUtilities.updateWithLong方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
public void updateDigest(MessageDigest digest)
{
digest.update(name().toByteBuffer().duplicate());
digest.update(value().duplicate());
FBUtilities.updateWithLong(digest, timestamp());
FBUtilities.updateWithByte(digest, serializationFlags());
}
示例2: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
@Override
public void updateDigest(MessageDigest digest)
{
updateWithName(digest);
FBUtilities.updateWithLong(digest, timestamp());
FBUtilities.updateWithByte(digest, serializationFlags());
}
示例3: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
@Override
public void updateDigest(MessageDigest digest)
{
digest.update(name().toByteBuffer().duplicate());
// We don't take the deltas into account in a digest
contextManager.updateDigest(digest, value());
FBUtilities.updateWithLong(digest, timestamp);
FBUtilities.updateWithByte(digest, serializationFlags());
FBUtilities.updateWithLong(digest, timestampOfLastDelete);
}
示例4: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
@Override
public void updateDigest(MessageDigest digest)
{
updateWithName(digest); // name
updateWithValue(digest); // value
FBUtilities.updateWithLong(digest, timestamp());
FBUtilities.updateWithByte(digest, serializationFlags());
}
示例5: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
@Override
public void updateDigest(MessageDigest digest)
{
digest.update(name().toByteBuffer().duplicate());
FBUtilities.updateWithLong(digest, timestamp());
FBUtilities.updateWithByte(digest, serializationFlags());
}
示例6: updateDigest
import org.apache.cassandra.utils.FBUtilities; //导入方法依赖的package包/类
@Override
public void updateDigest(MessageDigest digest)
{
updateWithName(digest);
// We don't take the deltas into account in a digest
contextManager.updateDigest(digest, value());
FBUtilities.updateWithLong(digest, timestamp());
FBUtilities.updateWithByte(digest, serializationFlags());
FBUtilities.updateWithLong(digest, timestampOfLastDelete());
}