class RapidsBufferCatalog extends Logging
Catalog for lookup of buffers by ID. The constructor is only visible for testing, generally
RapidsBufferCatalog.singleton should be used instead.
- Alphabetic
- By Inheritance
- RapidsBufferCatalog
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RapidsBufferCatalog()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
acquireBuffer(id: RapidsBufferId, tier: StorageTier): Option[RapidsBuffer]
Lookup the buffer that corresponds to the specified buffer ID at the specified storage tier, and acquire it.
Lookup the buffer that corresponds to the specified buffer ID at the specified storage tier, and acquire it. NOTE: It is the responsibility of the caller to close the buffer.
- id
buffer identifier
- returns
buffer that has been acquired, None if not found
-
def
acquireBuffer(id: RapidsBufferId): RapidsBuffer
Lookup the buffer that corresponds to the specified buffer ID at the highest storage tier, and acquire it.
Lookup the buffer that corresponds to the specified buffer ID at the highest storage tier, and acquire it. NOTE: It is the responsibility of the caller to close the buffer.
- id
buffer identifier
- returns
buffer that has been acquired
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
getBufferMeta(id: RapidsBufferId): TableMeta
Get the table metadata corresponding to a buffer ID.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
isBufferSpilled(id: RapidsBufferId, tier: StorageTier): Boolean
Check if the buffer that corresponds to the specified buffer ID is stored in a slower storage tier.
Check if the buffer that corresponds to the specified buffer ID is stored in a slower storage tier.
- id
buffer identifier
- tier
storage tier to check
- returns
true if the buffer is stored in multiple tiers
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
log: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logDebug(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logError(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logInfo(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logName: String
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logTrace(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
logWarning(msg: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
numBuffers: Int
Return the number of buffers currently in the catalog.
-
def
registerNewBuffer(buffer: RapidsBuffer): Unit
Register a new buffer with the catalog.
Register a new buffer with the catalog. An exception will be thrown if an existing buffer was registered with the same buffer ID and storage tier.
-
def
removeBuffer(id: RapidsBufferId): Unit
Remove a buffer ID from the catalog and release the resources of the registered buffers.
-
def
removeBufferTier(id: RapidsBufferId, tier: StorageTier): Unit
Remove a buffer ID from the catalog at the specified storage tier.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )