本文整理了Java中org.apache.mina.common.ByteBuffer.putLong()
方法的一些代码示例,展示了ByteBuffer.putLong()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuffer.putLong()
方法的具体详情如下:
包路径:org.apache.mina.common.ByteBuffer
类名称:ByteBuffer
方法名:putLong
暂无
代码示例来源:origin: org.apache.directory.mina/mina-core
public ByteBuffer putLong( long value )
{
buf.putLong( value );
return this;
}
代码示例来源:origin: org.apache.directory.mina/mina-core
public ByteBuffer putLong( int index, long value )
{
buf.putLong( index, value );
return this;
}
代码示例来源:origin: org.apache.directory.server/mitosis
private void writeCSNVector( ByteBuffer out, CSNVector csns )
{
Set<String> replicaIds = csns.getReplicaIds();
int nReplicas = replicaIds.size();
out.putInt( nReplicas );
for ( String replicaId:replicaIds )
{
CSN csn = csns.getCSN( replicaId );
try
{
out.putString( replicaId, utf8encoder );
out.put( ( byte ) 0x00 );
out.putLong( csn.getTimestamp() );
out.putInt( csn.getOperationSequence() );
}
catch ( CharacterCodingException e )
{
throw new RuntimeException( e );
}
}
}
代码示例来源:origin: org.apache.directory.mina/mina-core
putLong( 0L );
代码示例来源:origin: org.apache.directory.mina/mina-core
putLong( longValue );
内容来源于网络,如有侵权,请联系作者删除!