public class Cache extends NetObjectEnumerable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Caching.Cache
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Web
|
static java.lang.String |
className
Qualified class name: System.Web.Caching.Cache
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
Cache() |
Cache(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
NetObject |
Add(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority,
CacheItemRemovedCallback onRemoveCallback) |
static Cache |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Cache, a cast assert is made to check if types are compatible. |
NetObject |
Get(java.lang.String key) |
int |
getCount() |
long |
getEffectivePercentagePhysicalMemoryLimit() |
long |
getEffectivePrivateBytesLimit() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
void |
Insert(java.lang.String key,
NetObject value) |
void |
Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies) |
void |
Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration) |
void |
Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority,
CacheItemRemovedCallback onRemoveCallback) |
void |
Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemUpdateCallback onUpdateCallback) |
NetObject |
Remove(java.lang.String key) |
void |
setJCOInstance(JCObject instance) |
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Cache()
throws java.lang.Throwable
java.lang.Throwablepublic Cache(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic NetObject Add(java.lang.String key, NetObject value, CacheDependency dependencies, DateTime absoluteExpiration, TimeSpan slidingExpiration, CacheItemPriority priority, CacheItemRemovedCallback onRemoveCallback) throws java.lang.Throwable, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, InvalidTimeZoneException, NotSupportedException, OverflowException, MissingManifestResourceException, HttpException, InvalidOperationException, MissingMethodException, TargetInvocationException, ConfigurationErrorsException, OutOfMemoryException, SecurityException, ConfigurationException, ProviderException, NullReferenceException, MemberAccessException, PathTooLongException, NotImplementedException, ObjectDisposedException, EventSourceException, WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionMissingManifestResourceExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic static Cache cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Cache, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCache instancejava.lang.Throwable - in case of error during cast operationpublic NetObject Get(java.lang.String key) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, HttpException, InvalidOperationException, MissingMethodException, TargetInvocationException, ConfigurationErrorsException, OutOfMemoryException, SecurityException, NotSupportedException, ConfigurationException, ProviderException, NullReferenceException, MemberAccessException, PathTooLongException, NotImplementedException, ObjectDisposedException, EventSourceException, WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic int getCount()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
HttpException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
NotSupportedException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotImplementedException,
ObjectDisposedException,
EventSourceException,
WaitHandleCannotBeOpenedException,
OverflowException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionOverflowExceptionpublic long getEffectivePercentagePhysicalMemoryLimit()
throws java.lang.Throwable
java.lang.Throwablepublic long getEffectivePrivateBytesLimit()
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
SecurityException,
ObjectDisposedException,
UnauthorizedAccessException,
IOException,
InvalidOperationException,
MissingManifestResourceException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectEnumerableString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerableString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerableObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerableString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerableJCType representing the CLR Type of the instantiated Classpublic void Insert(java.lang.String key,
NetObject value)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
HttpException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
NotSupportedException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotImplementedException,
ObjectDisposedException,
EventSourceException,
WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic void Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
MissingManifestResourceException,
ArgumentOutOfRangeException,
HttpException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
NotSupportedException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotImplementedException,
ObjectDisposedException,
EventSourceException,
WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic void Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidTimeZoneException,
NotSupportedException,
OverflowException,
MissingManifestResourceException,
HttpException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotImplementedException,
ObjectDisposedException,
EventSourceException,
WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionMissingManifestResourceExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic void Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority,
CacheItemRemovedCallback onRemoveCallback)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidTimeZoneException,
NotSupportedException,
OverflowException,
MissingManifestResourceException,
HttpException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotImplementedException,
ObjectDisposedException,
EventSourceException,
WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionArgumentOutOfRangeExceptionInvalidTimeZoneExceptionNotSupportedExceptionOverflowExceptionMissingManifestResourceExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic void Insert(java.lang.String key,
NetObject value,
CacheDependency dependencies,
DateTime absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemUpdateCallback onUpdateCallback)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidTimeZoneException,
OverflowException,
HttpException,
ConfigurationErrorsException,
OutOfMemoryException,
SecurityException,
ConfigurationException,
ProviderException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
EventSourceException,
WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidTimeZoneExceptionOverflowExceptionHttpExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic NetObject Remove(java.lang.String key) throws java.lang.Throwable, ArgumentException, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, HttpException, InvalidOperationException, MissingMethodException, TargetInvocationException, ConfigurationErrorsException, OutOfMemoryException, SecurityException, NotSupportedException, ConfigurationException, ProviderException, NullReferenceException, MemberAccessException, PathTooLongException, NotImplementedException, ObjectDisposedException, EventSourceException, WaitHandleCannotBeOpenedException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionArgumentOutOfRangeExceptionHttpExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionOutOfMemoryExceptionSecurityExceptionNotSupportedExceptionConfigurationExceptionProviderExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotImplementedExceptionObjectDisposedExceptionEventSourceExceptionWaitHandleCannotBeOpenedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectEnumerable