Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

What will happen in case of singleton

This is a discussion on What will happen in case of singleton within the Java forums, part of the Software Development category; If I create 2 instances for singleton pattern class at a time when 2 threads are accessing the same class, what will happen in case of singleton? Question asked by ...

Go Back   Geeks Talk > Software Development > Java
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Java Java related Issues and Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2007
Expert Member
 
Join Date: Feb 2007
Posts: 1,279
Thanks: 0
Thanked 192 Times in 154 Posts
Geek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura aboutGeek_Guest has a spectacular aura about
What will happen in case of singleton

If I create 2 instances for singleton pattern class at a time when 2 threads are accessing the same class, what will happen in case of singleton?

Question asked by visitor vengs
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-31-2007
Contributing Member
 
Join Date: Sep 2006
Location: bangalore, india
Posts: 1,016
Thanks: 0
Thanked 91 Times in 72 Posts
psuresh1982 will become famous soon enough
Re: What will happen in case of singleton

I think the following URL is helpful to you....

ImplementingTheSingletonPatternInJava
Reply With Quote
Reply

  Geeks Talk > Software Development > Java

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Use case statement and Test Case JobHelper Testing Issues 4 01-16-2009 03:48 AM
Test case for Calculator Geek_Guest Test Cases 3 07-31-2008 07:48 AM
Templates for Use case Geek_Guest Testing Templates 8 11-21-2007 08:00 AM
Perseverance can make miracles happen sutnarcha Personality Development 0 03-30-2007 11:58 AM
solve this case vmshenoy Brainteasers 11 01-14-2007 05:44 PM


All times are GMT -4. The time now is 12:06 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved