cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
125
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Janine Graves on 30-11-2010 06:31:52 PM
Does anyone know if Global Data on VxmlServer is 'thread safe'? What happens if 2 applications try to modify it at exactly the same time? Does the system lock the variable while it's being updated? I can't find any real documentation on this.
 
Thanks, Janine

Subject: RE: New Message from Janine Graves in Customer Voice Portal (CVP) - General
Replied by: Hemal Mehta on 30-11-2010 07:12:49 PM
That is a good question for the Cisco team and I guess would depend on how the voice browser is implemented. I know of some non Cisco voice browser where it wasn't thread safe.
Thanks,
Hemal

________________________________
From: Cisco Developer Community Forums [mailto:[email protected]]
Sent: Tuesday, November 30, 2010 12:32 PM
To: [email protected]
Subject: New Message from Janine Graves in Customer Voice Portal (CVP) - General Discussion - All Versions: Global Data

Janine Graves has created a new message in the forum "General Discussion - All Versions":

--------------------------------------------------------------
Does anyone know if Global Data on VxmlServer is 'thread safe'? What happens if 2 applications try to modify it at exactly the same time? Does the system lock the variable while it's being updated? I can't find any real documentation on this.

Thanks, Janine
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2785970>

or simply reply to this email.

Subject: Re: New Message from Hemal Mehta in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-11-2010 08:01:49 PM
It's not the voice browser, but the CVP VXML Server Java application and
Tomcat that is dealing with the Global Data.
Can someone at Cisco reply to whether Global data is 'thread safe' ?

Thanks! Janine

On 11/30/2010 1:12 PM, Cisco Developer Community Forums wrote:
> Hemal Mehta has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> That is a good question for the Cisco team and I guess would depend on
> how the voice browser is implemented. I know of some non Cisco voice
> browser where it wasn't thread safe.
> Thanks,
> Hemal
>
> ________________________________
> From: Cisco Developer Community Forums
> [mailto:[email protected]]
> Sent: Tuesday, November 30, 2010 12:32 PM
> To: [email protected]
> Subject: New Message from Janine Graves in Customer Voice Portal (CVP)
> - General Discussion - All Versions: Global Data
>
> Janine Graves has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Does anyone know if Global Data on VxmlServer is 'thread safe'? What
> happens if 2 applications try to modify it at exactly the same time?
> Does the system lock the variable while it's being updated? I can't
> find any real documentation on this.
>
> Thanks, Janine
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2785970>
>
> or simply reply to this email.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786013>
>
> or simply reply to this email.

--
Janine Graves

Subject: RE: Re: New Message from Hemal Mehta in Customer Voice Portal (CVP) - Gener
Replied by: Cun Yong Tan on 30-11-2010 08:10:02 PM
Global data is synchronized like so:    Collections.synchronizedMap(new HashMap())
So the answer is yes for basic get/set operations.
 
 

Subject: Re: New Message from Cun Yong Tan in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 30-11-2010 08:16:49 PM
great, thanks!

On 11/30/2010 2:10 PM, Cisco Developer Community Forums wrote:
> Cun Yong Tan has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Global data is synchronized like so:   
> Collections.synchronizedMap(new HashMap())
> So the answer is yes for basic get/set operations.
> Â
> Â
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786091>
>
> or simply reply to this email.

--
Janine Graves

Subject: Re: New Message from Hemal Mehta in Customer Voice Portal (CVP) - General D
Replied by: Janine Graves on 30-11-2010 08:17:49 PM
Hi Hemal,
I was talking about Studio's Global Data variables. Not the variables
one can create in a root document. Sorry if it wasn't clear.
Janine

On 11/30/2010 2:07 PM, Cisco Developer Community Forums wrote:
> Hemal Mehta has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> Ok, there are also global variables like you may have in app-root.vxml
> (if I were to have a vxml code). Are you saying that these are handled
> by the vxml server?
> Hemal
>
>
> ________________________________
> From: Cisco Developer Community Forums
> [mailto:[email protected]]
> Sent: Tuesday, November 30, 2010 2:02 PM
> To: [email protected]
> Subject: New Message from Janine Graves in Customer Voice Portal (CVP)
> - General Discussion - All Versions: Re: New Message from Hemal Mehta
> in Customer Voice Portal (CVP) - General D
>
> Janine Graves has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> It's not the voice browser, but the CVP VXML Server Java application and
> Tomcat that is dealing with the Global Data.
> Can someone at Cisco reply to whether Global data is 'thread safe' ?
>
> Thanks! Janine
>
> On 11/30/2010 1:12 PM, Cisco Developer Community Forums wrote:
> > Hemal Mehta has created a new message in the forum "General Discussion
> > - All Versions":
> >
> > --------------------------------------------------------------
> > That is a good question for the Cisco team and I guess would depend on
> > how the voice browser is implemented. I know of some non Cisco voice
> > browser where it wasn't thread safe.
> > Thanks,
> > Hemal
> >
> > ________________________________
> > From: Cisco Developer Community Forums
> > [mailto:[email protected]]
> > Sent: Tuesday, November 30, 2010 12:32 PM
> > To: [email protected]
> > Subject: New Message from Janine Graves in Customer Voice Portal (CVP)
> > - General Discussion - All Versions: Global Data
> >
> > Janine Graves has created a new message in the forum "General
> > Discussion - All Versions":
> >
> > --------------------------------------------------------------
> > Does anyone know if Global Data on VxmlServer is 'thread safe'? What
> > happens if 2 applications try to modify it at exactly the same time?
> > Does the system lock the variable while it's being updated? I can't
> > find any real documentation on this.
> >
> > Thanks, Janine
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2785970>
> >
> > or simply reply to this email.
> > --
> > To respond to this post, please click the following link:
> >
> >
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786013>
> >
> > or simply reply to this email.
>
> --
> Janine Graves
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786088>
>
> or simply reply to this email.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2787368>
>
> or simply reply to this email.

--
Janine Graves

Subject: RE: New Message from Janine Graves in Customer Voice Portal (CVP) - General
Replied by: Hemal Mehta on 30-11-2010 08:07:11 PM
Ok, there are also global variables like you may have in app-root.vxml (if I were to have a vxml code). Are you saying that these are handled by the vxml server?
Hemal


________________________________
From: Cisco Developer Community Forums [mailto:[email protected]]
Sent: Tuesday, November 30, 2010 2:02 PM
To: [email protected]
Subject: New Message from Janine Graves in Customer Voice Portal (CVP) - General Discussion - All Versions: Re: New Message from Hemal Mehta in Customer Voice Portal (CVP) - General D

Janine Graves has created a new message in the forum "General Discussion - All Versions":

--------------------------------------------------------------
It's not the voice browser, but the CVP VXML Server Java application and
Tomcat that is dealing with the Global Data.
Can someone at Cisco reply to whether Global data is 'thread safe' ?

Thanks! Janine

On 11/30/2010 1:12 PM, Cisco Developer Community Forums wrote:
> Hemal Mehta has created a new message in the forum "General Discussion
> - All Versions":
>
> --------------------------------------------------------------
> That is a good question for the Cisco team and I guess would depend on
> how the voice browser is implemented. I know of some non Cisco voice
> browser where it wasn't thread safe.
> Thanks,
> Hemal
>
> ________________________________
> From: Cisco Developer Community Forums
> [mailto:[email protected]]
> Sent: Tuesday, November 30, 2010 12:32 PM
> To: [email protected]
> Subject: New Message from Janine Graves in Customer Voice Portal (CVP)
> - General Discussion - All Versions: Global Data
>
> Janine Graves has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Does anyone know if Global Data on VxmlServer is 'thread safe'? What
> happens if 2 applications try to modify it at exactly the same time?
> Does the system lock the variable while it's being updated? I can't
> find any real documentation on this.
>
> Thanks, Janine
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2785970>
>
> or simply reply to this email.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786013>
>
> or simply reply to this email.

--
Janine Graves
--
To respond to this post, please click the following link:

<http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2786088>

or simply reply to this email.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links