Oracle Application Server 10g Java Object Cache API Reference
10g(9.0.4)

B10388-01

oracle.ias.cache
Class CacheHostInfo

java.lang.Object
  |
  +--oracle.ias.cache.CacheHostInfo

public class CacheHostInfo
extends java.lang.Object

The CacheHostInfo class provides the host and current port being used for a cache in the cache system. An array of CacheHostInfo objects can be obtained for all caches currently running with the method Cache.getActiveHostInfo.

Since:
9.0.4
See Also:
Cache

Method Summary
 java.lang.String getCacheName()
          returns the cache name as specified in the CacheAttributes
 java.lang.String getHostName()
          returns the the hostName where this cache is currently running
 int getPort()
          returns the port currently being used by this cache
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getHostName

public java.lang.String getHostName()
returns the the hostName where this cache is currently running
Returns:
the hostName where this cache is currently running
Since:
9.0.4

getPort

public int getPort()
returns the port currently being used by this cache
Returns:
the port currently being used by this cache
Since:
9.0.4

getCacheName

public java.lang.String getCacheName()
returns the cache name as specified in the CacheAttributes
Returns:
the cache name as specified in the CacheAttributes
Since:
9.0.4

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Oracle Application Server 10g Java Object Cache API Reference
10g(9.0.4)

B10388-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.