File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes volatile and transient Details Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "volatile and transient Details" Watch "volatile and transient Details" New topic

volatile and transient Details

Ashok Srinivasan

Joined: Jun 24, 2004
Posts: 15
Details About volatile and transient
Julian Kennedy
Ranch Hand

Joined: Aug 02, 2004
Posts: 823
Volatile, Transient, Manual (noun).

  • Ask a question if you want an answer.
  • You're likely to get out what you put in.
  • You'll appear less rude if you use words like "please" and "thankyou".

  • bonus link
    Ilja Preuss

    Joined: Jul 11, 2001
    Posts: 14112
    Good tips - for more see

    The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
    Mani vannan
    Ranch Hand

    Joined: Aug 21, 2004
    Posts: 185
    Hi !

    A variable is defined as volatile, when its value keep on changing frequently.Also its used in shared memory application.The volatile varaible cant be cached in a temporary register , so each time the the machine should go to the location & fetch the value of volatile.

    A variable which is the absent at the persistence state of the object is defined as transient type .

    Network Computing & System Engg Group,

    I agree. Here's the link:
    subject: volatile and transient Details
    It's not a secret anymore!