public class InvalidatablePersistentRef extends PersistentRef
Class InvalidatablePersistentRef. Provides invalidatablepersistentref functionality for the Hytale server.
java.lang.Object > PersistentRef > InvalidatablePersistentRef
Field Summary
refCount
protected
int
refCount
Field refCount.
Method Detail
setEntity
Method setEntity.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor
clear
public
void
clear
()
Method clear.
setRefCount
public
void
setRefCount
(final int refCount)
Method setRefCount.
- Parameters:
final intrefCount
getRefCount
public
int
getRefCount
()
Method getRefCount.
validateEntityReference
protected
boolean
validateEntityReference
(@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)
Method validateEntityReference.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor