Re: wicketstuff-datastore-memcached guide

2017-03-09 Thread Martin Grigorov
On Thu, Mar 9, 2017 at 4:08 PM, ssamarin <stepan.sama...@gmail.com> wrote:

> Thanks Martin, I got it working!
>
> Question though: is it possible to have fallback mechanism?
>
> Let's say memcached crashes or process is not present - can wicket switch
> back to disk mechanism?
>

There is no such support at the moment.
If you need it you will have to implement it yourself. And contribute it
maybe ... :-)

But AFAIR it supports a list of Memcached addresses so if one instance it
down at least the other(s) could be up.


>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/wicketstuff-datastore-memcached-guide-tp4677272p4677282.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: wicketstuff-datastore-memcached guide

2017-03-09 Thread ssamarin
Thanks Martin, I got it working! 

Question though: is it possible to have fallback mechanism? 

Let's say memcached crashes or process is not present - can wicket switch
back to disk mechanism?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-datastore-memcached-guide-tp4677272p4677282.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff-datastore-memcached guide

2017-03-08 Thread Martin Grigorov
Hi,

See the tests of the project.
https://github.com/wicketstuff/core/blob/master/datastores-parent/datastore-memcached/src/test/java/org/wicketstuff/datastores/memcached/app/MemcachedApplication.java
shows how to setup the data store.
You can set the hosts and port in IMemcachedSettings.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Mar 8, 2017 at 3:51 PM, ssamarin <stepan.sama...@gmail.com> wrote:

> Hello,
>
> I've been looking for a guide/howto for wicketstuff-datastore-memcached,
> but
> no luck so far.
>
> So, I put 2 new jars in the classpath:
> wicketstuff-datastore-memcached-7.3.0.jar and spymemcached-2.12.2.jar
>
> Is there any configuration parameters somewhere? Like memcached host and
> port?
>
> Would appreciate hints.
>
> Regards, Stepan.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/wicketstuff-datastore-memcached-guide-tp4677272.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


wicketstuff-datastore-memcached guide

2017-03-08 Thread ssamarin
Hello, 

I've been looking for a guide/howto for wicketstuff-datastore-memcached, but
no luck so far.

So, I put 2 new jars in the classpath:
wicketstuff-datastore-memcached-7.3.0.jar and spymemcached-2.12.2.jar 

Is there any configuration parameters somewhere? Like memcached host and
port? 

Would appreciate hints.

Regards, Stepan.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-datastore-memcached-guide-tp4677272.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org