public class HybridCacheEntryContext extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext
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: Microsoft.Extensions.Caching.Abstractions, Version=11.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
|
static java.lang.String |
assemblyShortName
Assembly name: Microsoft.Extensions.Caching.Abstractions
|
static java.lang.String |
className
Qualified class name: Microsoft.Extensions.Caching.Hybrid.HybridCacheEntryContext
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
HybridCacheEntryContext() |
HybridCacheEntryContext(HybridCacheEntryOptions options)
Initializes a new instance by invoking the .NET constructor.
|
HybridCacheEntryContext(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static HybridCacheEntryContext |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into HybridCacheEntryContext, a cast assert is made to check if types are compatible. |
Nullable_1 |
getExpiration()
Gets the value of the .NET property Expiration.
|
Nullable_1 |
getFlags()
Gets the value of the .NET property Flags.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
Nullable_1 |
getLocalCacheExpiration()
Gets the value of the .NET property LocalCacheExpiration.
|
Nullable_1 |
getLocalSize()
Gets the value of the .NET property LocalSize.
|
int |
getRevision()
Gets the value of the .NET property Revision.
|
void |
setExpiration(Nullable_1 Expiration)
Sets the value of the .NET property Expiration.
|
void |
setFlags(Nullable_1 Flags)
Sets the value of the .NET property Flags.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLocalCacheExpiration(Nullable_1 LocalCacheExpiration)
Sets the value of the .NET property LocalCacheExpiration.
|
void |
setLocalSize(Nullable_1 LocalSize)
Sets the value of the .NET property LocalSize.
|
void |
setRevision(int Revision)
Sets the value of the .NET property Revision.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public HybridCacheEntryContext()
throws java.lang.Throwable
java.lang.Throwablepublic HybridCacheEntryContext(HybridCacheEntryOptions options) throws java.lang.Throwable
options - the argument of type HybridCacheEntryOptionsjava.lang.Throwable - if the .NET constructor failspublic HybridCacheEntryContext(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static HybridCacheEntryContext cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into HybridCacheEntryContext, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedHybridCacheEntryContext instancejava.lang.Throwable - in case of error during cast operationpublic Nullable_1 getExpiration() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getFlags() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic Nullable_1 getLocalCacheExpiration() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Nullable_1 getLocalSize() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getRevision()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExpiration(Nullable_1 Expiration) throws java.lang.Throwable
Expiration - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFlags(Nullable_1 Flags) throws java.lang.Throwable
Flags - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setLocalCacheExpiration(Nullable_1 LocalCacheExpiration) throws java.lang.Throwable
LocalCacheExpiration - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setLocalSize(Nullable_1 LocalSize) throws java.lang.Throwable
LocalSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setRevision(int Revision)
throws java.lang.Throwable
Revision - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR