Sets the idleTimeout duration for the region itself.

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

Syntax

C#
public int SetRegionIdleTimeout(
	int idleTimeout
)
Visual Basic (Declaration)
Public Function SetRegionIdleTimeout ( _
	idleTimeout As Integer _
) As Integer
Visual C++
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