public class AssocWithThreadResourceHandle extends ResourceHandle
lock
Constructor and Description |
---|
AssocWithThreadResourceHandle(Object resource,
ResourceSpec spec,
ResourceAllocator alloc,
ClientSecurityInfo info) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
long |
getThreadId() |
int |
hashCode() |
boolean |
isAssociated() |
boolean |
isDirty() |
void |
setAssociated(boolean flag) |
void |
setDirty() |
void |
setThreadId(long threadId) |
closeUserConnection, decrementCount, destroyResource, enlistedInTransaction, fillInResourceObjects, getClientSecurityInfo, getComponentInstance, getId, getLastValidated, getListener, getName, getPartition, getResource, getResourceAllocator, getResourceSpec, getResourceState, getShareCount, getSubject, getUsageCount, getUserConnection, getXAResource, hasConnectionErrorOccurred, incrementCount, incrementUsageCount, isBusy, isEnlisted, isEnlistmentSuspended, isMarkedForReclaim, isShareable, isTransactional, markForReclaim, setBusy, setComponentInstance, setConnectionErrorOccurred, setEnlistmentSuspended, setLastValidated, setListener, setPartition, setResourceSpec, setResourceState, setSubject, supportsLazyAssociation, supportsLazyEnlistment, supportsXA, toString
public AssocWithThreadResourceHandle(Object resource, ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info)
public boolean isDirty()
public void setDirty()
public boolean isAssociated()
public void setAssociated(boolean flag)
public long getThreadId()
public void setThreadId(long threadId)
public int hashCode()
hashCode
in class ResourceHandle
public boolean equals(Object other)
equals
in class ResourceHandle
Copyright © 2019. All rights reserved.