Sets the idleTimeout duration for region entries.

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 SetEntryIdleTimeout(
	int idleTimeout
)
Public Function SetEntryIdleTimeout ( _
	idleTimeout As Integer _
) As Integer
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