Toggle navigation
Home
byte to io.netty.buffer.ByteBuf
No. of Instances - 116
No. of Commits - 2
No. of Projects - {'redisson', 'atomix'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> External
Mapping:
Rename Variable
messageTypeBytes
to
buf
Add or Remove Method invocation
encodedKey
to
encodedKey.internalNioBuffer(encodedKey.readerIndex(),encodedKey.readableBytes())
Update Anonymous class
{ @Override public void operationComplete( Future<V> future) throws Exception { if (!future.isSuccess()) { return; } V value=future.getNow(); if (value != null) { CacheKey cacheKey=toCacheKey(keyState); cache.put(cacheKey,new CacheValue(key,value)); } } }
to
{ @Override public void operationComplete( Future<V> future) throws Exception { if (!future.isSuccess()) { return; } V value=future.getNow(); if (value != null) { ByteBuf keyState=encodeMapKey(key); CacheKey cacheKey=toCacheKey(keyState); cache.put(cacheKey,new CacheValue(key,value)); } } }
Cascading Type Change (Similar)
byte[]
to
ByteBuf