0

I am setting up JavathinClient. Need to understand how can i get hold of atomic sequence? getAtomicSeq() is accessible through ignite instance but not with IgniteClient.

private void init(IgniteClient client, String tableName) {
    ClientCache superCache = defForClient.getSuperCache()

there is no API such as atomic sequence in the IgniteClient class. so how do i acheive something like :

    IgniteAtomicSequence seq = client.atomicSequence(tableName, 0, true);
}
lczapski
  • 4,026
  • 3
  • 16
  • 32
user10202788
  • 17
  • 1
  • 5

1 Answers1

1

At this point, thin clients don't support Atomics and DataStructures functionality. Probably this support will be added in the future. As for now, you can use Thick client, which supports all Ignite APIs: https://apacheignite.readme.io/docs/clients-vs-servers#section-configuring-clients-and-servers

Evgenii Zhuravlev
  • 2,987
  • 1
  • 9
  • 15
  • Hi,Thankyou . We have implemented thick client already was trying thinClient for some specifics. Any idea in which version ignite might release these functionality. – user10202788 Sep 23 '19 at 08:23
  • There are no concrete plans to implement this at the moment. So please don't rely on it getting available. – alamar Sep 23 '19 at 09:24