Sets the idleTimeout duration for the region itself.

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version: 8.2.4.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int SetRegionIdleTimeout(
	int idleTimeout
)
Public Function SetRegionIdleTimeout ( _
	idleTimeout As Integer _
) As Integer
public:
int SetRegionIdleTimeout(
	int idleTimeout
)

Parameters

idleTimeout
Int32
the idleTimeout for this region, in seconds, or 0 to disable idle timeout

Return Value

the previous value

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::..IllegalStateException if the new idleTimeout changes region expiration from disabled to enabled or enabled to disabled.

See Also