ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Kukushkin <alexeykukush...@yahoo.com.INVALID>
Subject Re: [jira] [Created] (IGNITE-6026) init cluster for Ignite Ignite Persistence by xml
Date Thu, 10 Aug 2017 12:58:33 GMT
Hi Alex,
The main idea from the API perspective is that Ignite Persistence is transparent for the API.
After you enable persistence all your APIs including get/put, SQL, etc would work as before. 
Enable Persistence with 1 line:
<property name="persistentStoreConfiguration">
    <bean class="org.apache.ignite.configuration.PersistentStoreConfiguration"/>

And then activate cluster explicitly - With script:
${IGNITE_HOME}/bin/control.sh --activate

OR in the code:

Best regards, Alexey

On Thursday, August 10, 2017, 3:50:35 PM GMT+3, Alex Negashev (JIRA) <jira@apache.org>

Alex Negashev created IGNITE-6026:

            Summary: init cluster for Ignite  Ignite Persistence by xml 
                Key: IGNITE-6026
                URL: https://issues.apache.org/jira/browse/IGNITE-6026
            Project: Ignite
          Issue Type: Wish
          Components: cache, examples, persistence
    Affects Versions: 2.1
        Environment: ignite in docker with zk
            Reporter: Alex Negashev

Hello! We use Ignite 2.1 and would like to use Ignite Persistence, how i can do this with
out java code? xml only.
Example attached.

This message was sent by Atlassian JIRA

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message