IsValid (Session - Java)

Read-only. Indicates whether an instantiated Session object is still valid.

Note: This method is new with Release 6.

Defined in

Session

Data type

boolean

Syntax

public boolean isValid()

Legal values

  • true if the Session object is still valid
  • false if the Session object is no longer valid

Usage

For a remote operation, this method determines if the DIIOP server task considers the session valid.

For a remote operation, iteratitive use of this method impacts performance.