JavaTM 2 Platform
Standard Ed. 5.0

java.rmi.dgc
Ŭ·¡½º Lease

java.lang.Object 
  »óÀ§¸¦ È®Àå java.rmi.dgc.Lease
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public final class Lease
extends Object
implements Serializable

Lease ¿ÀºêÁ§Æ®´Â ÀÏÀÇÀÇ VM ½Äº°ÀÚ¿Í ´ëÃâÇØ ±â°£À» º¸°ü À¯ÁöÇÕ´Ï´Ù. Lease ¿ÀºêÁ§Æ®´Â ¸®¸ðÆ® ¿ÀºêÁ§Æ® ÂüÁ¶¿¡ ´ëÃâÀ» ¿ä±¸ÇØ, Çã°¡Çϱâ À§Çؼ­ »ç¿ëÇÕ´Ï´Ù.

°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚ °³¿ä
Lease (VMID  id, long duration)
          ÁöÁ¤µÈ VMID ¿Í ´ëÃâÇØ ±â°£À» °¡Áö´Â Lease ¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 long getValue ()
          ´ëÃ⠱ⰣÀ» µ¹·ÁÁÝ´Ï´Ù.
 VMID getVMID ()
          Lease ¿ÀºêÁ§Æ®¿¡ °ü·ÃÇÑ Å¬¶óÀ̾ðÆ®ÀÇ VMID¸¦ µ¹·ÁÁÝ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

Lease

public Lease(VMID  id,
             long duration)
ÁöÁ¤µÈ VMID ¿Í ´ëÃâÇØ ±â°£À» °¡Áö´Â Lease ¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÕ´Ï´Ù. VMID ¿¡´Â null¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.

ÆÄ¶ó¹ÌÅÍ:
id - ÀÌ lease ¿¡ °ü·ÃÇÑ VMID
duration - ´ëÃ⠱Ⱓ
¸Þ¼­µåÀÇ »ó¼¼

getVMID

public VMID  getVMID()
Lease ¿ÀºêÁ§Æ®¿¡ °ü·ÃÇÑ Å¬¶óÀ̾ðÆ®ÀÇ VMID¸¦ µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
Ŭ¶óÀÌ¾ðÆ® VMID

getValue

public long getValue()
´ëÃ⠱ⰣÀ» µ¹·ÁÁÝ´Ï´Ù.

¹Ýȯ°ª:
´ëÃ⠱Ⱓ

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.