ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vladislav Pyatkov <vldpyat...@gmail.com>
Subject Re: Swap space
Date Mon, 10 Oct 2016 15:50:01 GMT
Hi,

You can to spy movement into swap space using Ignite event listener[1] on
event EventType#EVT_SWAP_SPACE_DATA_EVICTED

By default swap space directory is "swapspace" into working directory (if
you configured IGNITE_HOME the directory placed in it in "work"
sub-directory).

You can configure this like:

<bean id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration"
scope="singleton">
     ...
     <property name="swapSpaceSpi">
         <bean
class="org.apache.ignite.spi.swapspace.file.FileSwapSpaceSpi">
             <property name="baseDirectory" value="/path/to/swap/folder"/>
         </bean>
     </property>
     ...
 </bean>

[1]: https://apacheignite.readme.io/docs/events

On Sat, Oct 8, 2016 at 8:47 AM, Anil <anilklce@gmail.com> wrote:

> Hi,
> I am little new to ignite and trying out few features.
> How to log swap space movement  ? what is the default location of swap on
> disk ?
>
> Thanks.
>



-- 
Vladislav Pyatkov

Mime
View raw message