Custom CompositeCollisionSpi

classic Classic list List threaded Threaded
2 messages Options
tarunk tarunk
Reply | Threaded
Open this post in threaded view
|

Custom CompositeCollisionSpi

Hi All,

I want to use Composite CollisionSpi, which does PriorityQueueCollisionSpi
first and the apply JobStealingCollisionSpi. Is there an existing way to
support such case in Ignite.

Thanks,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
akurbanov akurbanov
Reply | Threaded
Open this post in threaded view
|

Re: Custom CompositeCollisionSpi

You can have only a single instance of collision SPI in the configuration,
but this one is pluggable, you can have your own implementation, have the
implementation class deployed in the cluster and set it in the configuration
via
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/IgniteConfiguration.html#setCollisionSpi-org.apache.ignite.spi.collision.CollisionSpi-

And for sure you can develop it over existing sample implementations:
https://github.com/apache/ignite/tree/master/modules/core/src/main/java/org/apache/ignite/spi/collision



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/