Discussion:
[Rabbit-dev] rabbit.proxy.Connection cache question
Mindaugas Žakšauskas
2009-10-24 22:30:58 UTC
Permalink
Hi,

Can anybody explain me the difference between

rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)

The Javadoc comments are unfortunately not clear enough. Thanks!

m.
Robert Olofsson
2009-10-25 08:51:59 UTC
Permalink
On Sat, 24 Oct 2009 23:30:58 +0100
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.

mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.

Is that clear?

/robo
Mindaugas Žakšauskas
2009-10-25 19:27:47 UTC
Permalink
Yep, that makes perfect sense. Thanks for clearing this out!

m.

On Sun, Oct 25, 2009 at 8:51 AM, Robert Olofsson
Post by Robert Olofsson
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.
mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.
Is that clear?
/robo
_______________________________________________
Rabbit-dev mailing list
Rabbit-dev at khelekore.org
http://khelekore.org/cgi-bin/mailman/listinfo/rabbit-dev
Mindaugas Žakšauskas
2009-10-25 19:27:47 UTC
Permalink
Yep, that makes perfect sense. Thanks for clearing this out!

m.

On Sun, Oct 25, 2009 at 8:51 AM, Robert Olofsson
Post by Robert Olofsson
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.
mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.
Is that clear?
/robo
_______________________________________________
Rabbit-dev mailing list
Rabbit-dev at khelekore.org
http://khelekore.org/cgi-bin/mailman/listinfo/rabbit-dev
Mindaugas Žakšauskas
2009-10-25 19:27:47 UTC
Permalink
Yep, that makes perfect sense. Thanks for clearing this out!

m.

On Sun, Oct 25, 2009 at 8:51 AM, Robert Olofsson
Post by Robert Olofsson
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.
mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.
Is that clear?
/robo
_______________________________________________
Rabbit-dev mailing list
Rabbit-dev at khelekore.org
http://khelekore.org/cgi-bin/mailman/listinfo/rabbit-dev
Mindaugas Žakšauskas
2009-10-24 22:30:58 UTC
Permalink
Hi,

Can anybody explain me the difference between

rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)

The Javadoc comments are unfortunately not clear enough. Thanks!

m.
Robert Olofsson
2009-10-25 08:51:59 UTC
Permalink
On Sat, 24 Oct 2009 23:30:58 +0100
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.

mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.

Is that clear?

/robo
Mindaugas Žakšauskas
2009-10-24 22:30:58 UTC
Permalink
Hi,

Can anybody explain me the difference between

rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)

The Javadoc comments are unfortunately not clear enough. Thanks!

m.
Robert Olofsson
2009-10-25 08:51:59 UTC
Permalink
On Sat, 24 Oct 2009 23:30:58 +0100
Post by Mindaugas Žakšauskas
Can anybody explain me the difference between
rabbit.proxy.Connection.setMayCache(boolean)
and
rabbit.proxy.Connection.setMayUseCache(boolean)
mayCache is a flag that specifies if we may cache the response that
we read from the upstream server.

mayUseCache is a flag that specifies if we may serve the response
from the rabbit cache, if we do we do not ask any upstream server.

Is that clear?

/robo
Loading...