# Aw::TypeDefCache

Method | Arguments | Return | Throws Exception
--- | --- | --- | ---
new | ( [client] ) Creates a new TypeDefCache object associated with (Aw::Client) `client` if passed. | Aw::TypeDefCache | YES
DESTROY | ( ) | void | NO
flushCache | ( [client] ) Flushes TypeDef cache for `client` if passed (which is then set to `$self->client`). Otherwise flushes cache of $self->client. | Boolean | YES
lockCache | ( ) | void | NO
unlockCache | ( ) | void | NO
Inherited Methods
err | ( ) | Boolean | YES
errmsg | ( ) | String | YES
error | ( ) | Aw::Error | NO
hello | ( ) Returns the string "hello". Useful for debugging. | String | NO
getWarn | ( ) Returns current warn `level`. | Number | NO
setWarn | ( level ) Sets new warn `level`. 0 : No warnings (quiet mode) 1 : Terse (uses awErrorToString) 2 : Verbose (uses awErrorToCompleteString) The Aw extensions must be compiled with AWXS_WARNS defined. | void | NO
warn | ( [string] ) Warn message is `string` if passed, otherwise current err is converted to string. | void | YES