• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Sumatra
  4. The State of Sumatra

The State of Sumatra

  • Created by Tom Deneau, last modified on Sep 08, 2014

The State of Sumatra

This page will reflect

  • what APIs can currently be offloaded
  • what java patterns in the offloaded lambda can and cannot be handled

APIs that can be Offloaded

Currenlty we handle only streams with a single operation consisting of either Stream.forEach or Stream.reduce.  The Stream must always be marked as .parallel().  In addition there are the following restrictions:

Stream.forEach

  • The spliterator must be either
    • an IntRange starting at 0 with step 1.
    • a spliterator from Arrays.stream or ArrayList.stream

Stream.reduce

  • The input spliterator must be from Arrays.stream or ArrayList.stream
  • The type of the array must be int
  • The reduce function itself must be Int:sum, Int:max or Int:min.  User written reduce functions are not supported yet.

 

Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 136, "requestCorrelationId": "2a0979beb9610fb8"}