You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by Kirk Lund <kl...@apache.org> on 2018/08/23 21:23:55 UTC
CacheServer.setNotifyBySubscription(false)
Question about CacheServer.setNotifyBySubscription(boolean) which is
deprecated... The default is now TRUE. But I found a test that is setting
it to FALSE. What is the preferred non-deprecated API for setting this to
FALSE?
* @deprecated as of 6.0.1. This method is no longer in use, by default
notifyBySubscription
* attribute is set to true.
*/
@Deprecated
void setNotifyBySubscription(boolean b);
Re: CacheServer.setNotifyBySubscription(false)
Posted by Kirk Lund <kl...@apache.org>.
Sounds like it's a warning that's no longer considered useful. Ok, I'll
delete that line from the test. Thanks!
On Thu, Aug 23, 2018 at 3:37 PM, Bruce Schuchardt <bs...@apache.org>
wrote:
> It looks like the alternative is to not invoke that method. The parameter
> only used to issue a warning if set to /false/.
>
>
>
> On 8/23/18 2:23 PM, Kirk Lund wrote:
>
>> Question about CacheServer.setNotifyBySubscription(boolean) which is
>> deprecated... The default is now TRUE. But I found a test that is setting
>> it to FALSE. What is the preferred non-deprecated API for setting this to
>> FALSE?
>>
>> * @deprecated as of 6.0.1. This method is no longer in use, by default
>> notifyBySubscription
>> * attribute is set to true.
>> */
>> @Deprecated
>> void setNotifyBySubscription(boolean b);
>>
>>
>
Re: CacheServer.setNotifyBySubscription(false)
Posted by Bruce Schuchardt <bs...@apache.org>.
It looks like the alternative is to not invoke that method. The
parameter only used to issue a warning if set to /false/.
On 8/23/18 2:23 PM, Kirk Lund wrote:
> Question about CacheServer.setNotifyBySubscription(boolean) which is
> deprecated... The default is now TRUE. But I found a test that is setting
> it to FALSE. What is the preferred non-deprecated API for setting this to
> FALSE?
>
> * @deprecated as of 6.0.1. This method is no longer in use, by default
> notifyBySubscription
> * attribute is set to true.
> */
> @Deprecated
> void setNotifyBySubscription(boolean b);
>