[
https://issues.apache.org/jira/browse/IGNITE-13069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167753#comment-17167753
]
Ignite TC Bot commented on IGNITE-13069:
----------------------------------------
{panel:title=Branch: [pull/8093/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/8093/head] Base: [master] : New Tests
(8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Service Grid (legacy mode){color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5497763]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=687cea33-ca7d-4016-9876-74a8b299c1da, topVer=0,
msgTemplate=null, span=null, nodeId8=5704db7e, msg=, type=NODE_JOINED,
tstamp=1596022656485], val2=AffinityTopologyVersion [topVer=875745153805231391,
minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=687cea33-ca7d-4016-9876-74a8b299c1da, topVer=0,
msgTemplate=null, span=null, nodeId8=5704db7e, msg=, type=NODE_JOINED,
tstamp=1596022656485], val2=AffinityTopologyVersion [topVer=875745153805231391,
minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=da4176a9371-7cb829d2-9ccf-45a8-bfa1-31cbaa4ef0c5, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=50d9d6ff-b783-4532-9132-7e514fe59455, topVer=0, msgTemplate=null,
span=null, nodeId8=50d9d6ff, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596022656485]], val2=AffinityTopologyVersion
[topVer=-4924482925865945366, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=da4176a9371-7cb829d2-9ccf-45a8-bfa1-31cbaa4ef0c5, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=50d9d6ff-b783-4532-9132-7e514fe59455, topVer=0, msgTemplate=null,
span=null, nodeId8=50d9d6ff, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596022656485]], val2=AffinityTopologyVersion
[topVer=-4924482925865945366, minorTopVer=0]]] - PASSED{color}
{color:#00008b}Service Grid{color} [[tests
4|https://ci.ignite.apache.org/viewLog.html?buildId=5499530]]
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=76712ee0-0d37-4c17-8a3f-2368c8057c39, topVer=0,
msgTemplate=null, span=null, nodeId8=841aa235, msg=, type=NODE_JOINED,
tstamp=1596055353322], val2=AffinityTopologyVersion
[topVer=-3942981228758300536, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryEvent [evtNode=76712ee0-0d37-4c17-8a3f-2368c8057c39, topVer=0,
msgTemplate=null, span=null, nodeId8=841aa235, msg=, type=NODE_JOINED,
tstamp=1596055353322], val2=AffinityTopologyVersion
[topVer=-3942981228758300536, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=2c35a5c9371-06f5109a-b68f-4890-8119-638fec0bb509, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=349ffd88-7940-4498-9f5c-ae4ec32fe064, topVer=0, msgTemplate=null,
span=null, nodeId8=349ffd88, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596055353322]], val2=AffinityTopologyVersion
[topVer=2898755701208726131, minorTopVer=0]]] - PASSED{color}
* {color:#013220}IgniteServiceGridTestSuite:
ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple
[val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest
[id=2c35a5c9371-06f5109a-b68f-4890-8119-638fec0bb509, reqs=SingletonList
[ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent
[evtNode=349ffd88-7940-4498-9f5c-ae4ec32fe064, topVer=0, msgTemplate=null,
span=null, nodeId8=349ffd88, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1596055353322]], val2=AffinityTopologyVersion
[topVer=2898755701208726131, minorTopVer=0]]] - PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5497785&buildTypeId=IgniteTests24Java8_RunAll]
> Rewrite creation of IgniteInClosure and IgniteOutClosure as lambda expression
> -----------------------------------------------------------------------------
>
> Key: IGNITE-13069
> URL: https://issues.apache.org/jira/browse/IGNITE-13069
> Project: Ignite
> Issue Type: Improvement
> Components: general
> Affects Versions: 2.8.1
> Reporter: Nikolay Izhikov
> Assignee: Konstantin Sirotkin
> Priority: Trivial
> Labels: newbie
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> We can use lambda expression instead of direct instantiation of
> IgniteInClosure, IgniteOutClosure.
> This:
> {code:java}
> state = new DirectMessageState<>(StateItem.class, new
> IgniteOutClosure<StateItem>() {
> @Override public StateItem apply() {
> return new StateItem(msgFactory, protoVer);
> }
> });
> {code}
> Can be replaced with:
> {code:java}
> state = new DirectMessageState<>(StateItem.class, () -> new
> StateItem(msgFactory, protoVer));
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)