Sets the idleTimeout duration for region entries.

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

Syntax

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

Parameters

idleTimeout
Int32
the idleTimeout in seconds for entries in this region, or 0 for no idle timeout

Return Value

the previous value

Exceptions

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

See Also