2de3b19b32fea283c8cf41d59c2d85d665b0eb72
Files Diff
- Added: 7
- Removed: 2
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public DirectMessageReader(msgFactory MessageFactory, msgFormatter MessageFormatter) renamed to public apply() : StateItem in class org.apache.ignite.internal.direct.DirectMessageReader.DirectMessageReader | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in method public IpcToNioAdapter(metricsLsnr GridNioMetricsListener, log IgniteLogger, endp IpcEndpoint, lsnr GridNioServerListener<T>, writerFactory GridNioMessageWriterFactory, filters GridNioFilter...) in class org.apache.ignite.internal.util.ipc.IpcToNioAdapter | From | To | |
Change Parameter Type formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in method private GridNioServer(addr InetAddress, port int, log IgniteLogger, selectorCnt int, gridName String, tcpNoDelay boolean, directBuf boolean, order ByteOrder, lsnr GridNioServerListener<T>, sockSndBuf int, sockRcvBuf int, sndQueueLimit int, directMode boolean, daemon boolean, metricsLsnr GridNioMetricsListener, writerFactory GridNioMessageWriterFactory, skipRecoveryPred IgnitePredicate<Message>, msgQueueLsnr IgniteBiInClosure<GridNioSession,Integer>, filters GridNioFilter...) in class org.apache.ignite.internal.util.nio.GridNioServer | From | To | |
Change Parameter Type formatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in method public GridDirectParser(msgFactory MessageFactory, readerFactory GridNioMessageReaderFactory) in class org.apache.ignite.internal.util.nio.GridDirectParser | From | To | |
Inline Method | 2 | ||
Inline Method private readArray(creator ArrayCreator<T>, lenShift int, off long, len int) : T inlined to private readArray(creator ArrayCreator<T>, lenShift int, off long) : T in class org.apache.ignite.internal.direct.stream.v1.DirectByteBufferStreamImplV1 | From | To | |
Inline Method private writeArray(arr Object, off long, len int, bytes int, skipLen boolean) : boolean inlined to private writeArray(arr Object, off long, len int, bytes int) : boolean in class org.apache.ignite.internal.direct.stream.v1.DirectByteBufferStreamImplV1 | From | To | |
Rename Variable | 1 | ||
Rename Variable msgFormatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in method private resetNioServer() : GridNioServer<Message> in class org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi | From | To | |
Move Attribute | 1 | ||
Move Attribute private stream : DirectByteBufferStream from class org.apache.ignite.internal.direct.DirectMessageReader to private stream : DirectByteBufferStream from class org.apache.ignite.internal.direct.DirectMessageReader.StateItem | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.apache.ignite.internal.direct.DirectByteBufferStream moved and renamed to org.apache.ignite.internal.direct.stream.v1.DirectByteBufferStreamImplV1 | From | To | |
Rename Attribute | 4 | ||
Rename Attribute formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.nio.GridNioServer.Builder | From | To | |
Rename Attribute formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.nio.GridNioServer | From | To | |
Rename Attribute formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.ipc.IpcToNioAdapter | From | To | |
Rename Attribute formatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in class org.apache.ignite.internal.util.nio.GridDirectParser | From | To | |
Change Variable Type | 1 | ||
Change Variable Type msgFormatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in method private resetNioServer() : GridNioServer<Message> in class org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi | From | To | |
Extract Interface | 1 | ||
Extract Interface org.apache.ignite.internal.direct.stream.DirectByteBufferStream from classes [org.apache.ignite.internal.direct.stream.v1.DirectByteBufferStreamImplV1] | From | To | |
Change Attribute Type | 6 | ||
Change Attribute Type formatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in class org.apache.ignite.internal.util.nio.GridDirectParser | From | To | |
Change Attribute Type formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.nio.GridNioServer.Builder | From | To | |
Change Attribute Type formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.ipc.IpcToNioAdapter | From | To | |
Change Attribute Type state : DirectMessageWriterState to state : DirectMessageState<StateItem> in class org.apache.ignite.internal.direct.DirectMessageWriter | From | To | |
Change Attribute Type state : int to state : DirectMessageState<StateItem> in class org.apache.ignite.internal.direct.DirectMessageReader | From | To | |
Change Attribute Type formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in class org.apache.ignite.internal.util.nio.GridNioServer | From | To | |
Rename Parameter | 3 | ||
Rename Parameter formatter : MessageFormatter to readerFactory : GridNioMessageReaderFactory in method public GridDirectParser(msgFactory MessageFactory, readerFactory GridNioMessageReaderFactory) in class org.apache.ignite.internal.util.nio.GridDirectParser | From | To | |
Rename Parameter formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in method private GridNioServer(addr InetAddress, port int, log IgniteLogger, selectorCnt int, gridName String, tcpNoDelay boolean, directBuf boolean, order ByteOrder, lsnr GridNioServerListener<T>, sockSndBuf int, sockRcvBuf int, sndQueueLimit int, directMode boolean, daemon boolean, metricsLsnr GridNioMetricsListener, writerFactory GridNioMessageWriterFactory, skipRecoveryPred IgnitePredicate<Message>, msgQueueLsnr IgniteBiInClosure<GridNioSession,Integer>, filters GridNioFilter...) in class org.apache.ignite.internal.util.nio.GridNioServer | From | To | |
Rename Parameter formatter : MessageFormatter to writerFactory : GridNioMessageWriterFactory in method public IpcToNioAdapter(metricsLsnr GridNioMetricsListener, log IgniteLogger, endp IpcEndpoint, lsnr GridNioServerListener<T>, writerFactory GridNioMessageWriterFactory, filters GridNioFilter...) in class org.apache.ignite.internal.util.ipc.IpcToNioAdapter | From | To |